I have around 40 variables in my dataset but I actually only use around 8 of them. I assume that keeping 8 variables is better than keeping all these variables in my dataset, which may cost Stata more time to deal with the data. I am thinking of a good way to deal with that. Can I ask what you should do in this case? Do you create a new panel dataset and run the regression from that or else?
If we just keep some variables in the dataset, whether we can follow this post or is there any simpler way to do so?
Many thanks and warmest regards.
Stata 17, Windows 10.
Related Posts with What is the ideal way to keep only needed variables in panal dataset?
New lppinv and tmpinv commands in Stata 16+Dear community, I've prepared two new commands to solve non-traditional types of linear programming…
How to rename variable name with the variable label in a loopI created new variables based on the levels of a categorical variable using the -tab, gen- command a…
Stacked barchart displaying proportion of each category over different yearsHello everyone, I have managed to create the stacked barchart I want, but in order to do so, I had t…
Interpretation and finding the long run relationship in vector error correction model for 4 variables and 2 cointegration vectorsI tried to do cointegration test for 4 variables (y, x, z, w) using vecrank command and found that t…
Marginal Effects in SfpanelHello. I am estimating a stochastic frontier model using panel data for about 3000 firms over 20 ye…
Subscribe to:
Post Comments (Atom)
0 Response to What is the ideal way to keep only needed variables in panal dataset?
Post a Comment