9/6/2023 0 Comments Stata regress if not![]() In the following statistical model, I regress 'Depend1' on three independent variables. If you need help getting data into STATA or doing basic operations, see the earlier STATA handout. Instead, please notify the sender by reply e-mail, and then destroy all copies of the message and any attachments. This handout is designed to explain the STATA readout you get when doing regression. ![]() If you are not the intended recipient, or if the message has been addressed to you in error, do not read, disclose, reproduce, distribute, disseminate or otherwise use this transmission. This information is meant only for the use of the intended recipients. Privileged, confidential or patient identifiable information may be contained in this message. Running this reproducible example shows a similar problem and its fix. Mensaje analizado y protegido por Telefonica Empresas The problem arises because youre asking for an interaction term and if you do that Stata requires you to flag that a variable with non-integer values is continuous. > solutions? Also I don't think using by can outreg coefficients for Regression with Stata Chapter 1 Simple and Multiple Regression Chapter Outline 1.0 Introduction 1.1 A First Regression Analysis 1.2 Examining Data 1.3 Simple linear regression 1.4 Multiple regression 1.5 Transforming variables 1.6 Summary 1.7 Self assessment 1.8 For more information 1. > tells me "by" can not be combined with xi. > by year: xi: areg score age education, absorb(nation), but stata > regression by year and the outreg the coefficients for each year. For more Stata videos, see: www.josephnco. ![]() Keep if year May I ask a novice question? I'm really new to Stata. If statements are used to apply operations to a limited subset of your data. St: Re: how to regress and outreg by year? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |