Please I am new in STATA
I find these commands in a paper please can you explain for me before we run the POLS or MG panel regression
at the beginning we define our variable as the following commands
xtset CountryID Year
local z" OSS ADS OSDS "
foreach k of local z{
gen l`k' = l.`k'
}
local z" TBGDP lner lnGDP "
foreach k of local z{
gen d`k' = d.`k'
gen ld`k' = l.d.`k'
}
and I want to take my panel regression with lag = 1 ?
How I can define the panel regression with one year lag
suppose my dependent variable is TBGDP
my independent variables are OSS ADS OSDS lner lnGDP
How I can define my command in my panel regression with one year lag=1?
Related Posts with I need to explain these commands in panel regression
Need reference or material on ordering.Hello, I have two questions. 1. What ordering options are available other than Cholesky Decompositio…
Silverman's rule-of-thumbHey, I have a question regarding the bandwidth calculated by Silverman's rule of thumb. I am using …
locals and varnamesDear all, say that i want to create new variables using a numlist as follows: Code: forvalues i=5(…
Assign the oldest in a household as headUsing index as household identifier, a3age as Age,1== head in the relationship …
Need help on ordering options in VAR modelHello, I have two questions. 1. What ordering options are available other than Cholesky Decompositio…
Subscribe to:
Post Comments (Atom)
0 Response to I need to explain these commands in panel regression
Post a Comment