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
Pearson correlation matrix with multiple significance starsHi Statalisters, I'm trying to present Pearson's correlation matrix with significance stars at leve…
Percentage in bar graphHello everyone. I am trying to create a bar chart which evaluates the labor market participation by…
Insignificant F statistics, R square approximately equal to 0. Insignficant t statisticsDear Stata list members Advance apologies for asking a naive question. I conducted an analysis to c…
Principal Component AnalysisHello, I am carrying out a Principal Component Analysis on a rather large dataset (6500 observation…
how to make a descriptive statistics like the picture (including Jarque‐Bera test for normality) and output the result"sum,de" did not include Jarque‐Bera test for normality, and how to use the panel data to achieve th…
Subscribe to:
Post Comments (Atom)
0 Response to I need to explain these commands in panel regression
Post a Comment