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
teffects: observations have no propensity-score matches within caliperHi everyone, I am currently working on a project where I want to use STATA command teffects rather …
85th/15th quantile ratioDear all, I would like to calculate the 85th/15th quantile ratio of earnings by years. However, in…
Panel Data - Keeping Observations when using a Difference in Difference ApproachI have UK panel data from the British Household Panel Survey and Understanding data, covering 2000-2…
Sorting Variables based on their valuesHello everyone, I am currently working on a panel data set where I have to create dummy variables b…
Embedding asdoc tables in putdocxHi everyone, I am trying to produce publication-style tables in a dynamic word document. For my cas…
Subscribe to:
Post Comments (Atom)
0 Response to I need to explain these commands in panel regression
Post a Comment