Hello,
I want to perform a linear (1 independent variable) and a multiple regression with a sample of 30,000 observations.
Let's say that I can use the total sample for the linear regression, but before running the multiple regression I only want to keep the positive values of the additional independent variables before running this multiple regression (by using 'keep if var1>=0, var2>=0', etc.). This reduces the number of observations to 16,000 observations. Am I still able to discuss both regressions in an unbiased way or do I also need to use the same smaller sample of 16,000 obs for the linear regression?
Ps I have a good reason for removing the negative values as these are irrelevant for my research.
Thanks!
Related Posts with Do you need to use the same number of data observations for different types of regression?
Stata calculating biased coefficient?Hello everyone, I have a question regarding a Stata coefficient. Our professor told us to set obs =…
Change the visualization of the data on the axesHi everybody, I would like to change how I visualize the data on the y axes. My numbers are reverse…
Converting *.mo file to a text fileDear Statalist Could anyone help me on converting a *.mo file to a text file (or .mata)? I am using …
Change the display number on the axesHi everybody. I would like to change the way observations are displayed on the axes (for example I …
Problem with value labelsI am facing a problem regarding labeling of a particular variable in my dataset. I have labelled the…
Subscribe to:
Post Comments (Atom)
0 Response to Do you need to use the same number of data observations for different types of regression?
Post a Comment