Ok I see, thanks a lot!
-
Login or Register
- Log in with
gsem (charters_chng <- lag_nhwhite_5to9 $nhoodcovar_00 i.distnum) /// (magnets_chng <- lag_nhwhite_5to9 $nhoodcovar_00 i.distnum) /// (privates_chng <- lag_nhwhite_5to9 $nhoodcovar_00 i.distnum) /// (nh_chng_10 <- $numbchng nhwhite_5to9_1990 $nhoodcovar_chng i.distnum) /// (sch_chng_10 <- nh_chng_10 $numbchng white_school_1990 $nhoodcovar_chng i.distnum) /// , covstructure(e._En, diagonal) boottest [charters_chng]lag_nhwhite_5to9 , bootcluster(distnum)
. poisson cash_in_hand_bank_real did i.state_cd i.year i.NIC_2008 age age2 i.rural_urban_cd [p
> weight=mult], vce(cluster NIC_2008)
note: you are responsible for interpretation of noncount dep. variable.
Iteration 0: log pseudolikelihood = -6.499e+11
Iteration 1: log pseudolikelihood = -6.453e+11
Iteration 2: log pseudolikelihood = -6.452e+11
Iteration 3: log pseudolikelihood = -6.452e+11
Iteration 4: log pseudolikelihood = -6.452e+11
Iteration 5: log pseudolikelihood = -6.452e+11
Poisson regression Number of obs = 18,736
Wald chi2(22) = .
Log pseudolikelihood = -6.452e+11 Prob > chi2 = .
(Std. err. adjusted for 24 clusters in NIC_2008)
-----------------------------------------------------------------------------------------
| Robust
cash_in_hand_bank_real | Coefficient std. err. z P>|z| [95% conf. interval]
------------------------+----------------------------------------------------------------
did | -.0345498 .1429369 -0.24 0.809 -.314701 .2456014
|
-----
-----------------------------------------------------------------------------------------
. boottest did, cluster(NIC_2008) reps(9999) weighttype(rademacher) nograph
Overriding estimator's cluster/robust settings with cluster(NIC_2008)
Re-running regression with null imposed.
note: you are responsible for interpretation of noncount dep. variable.
Iteration 0: log pseudolikelihood = -6.501e+11
Iteration 1: log pseudolikelihood = -6.453e+11
Iteration 2: log pseudolikelihood = -6.452e+11
Iteration 3: log pseudolikelihood = -6.452e+11
Iteration 4: log pseudolikelihood = -6.452e+11
Iteration 5: log pseudolikelihood = -6.452e+11
Poisson regression Number of obs = 18,736
Wald chi2(22) = 1213856.30
Log pseudolikelihood = -6.452e+11 Prob > chi2 = 0.0000
( 1) [cash_in_hand_bank_real]did = 0
(Std. err. adjusted for 24 clusters in NIC_2008)
-----------------------------------------------------------------------------------------
| Robust
cash_in_hand_bank_real | Coefficient std. err. z P>|z| [95% conf. interval]
------------------------+----------------------------------------------------------------
did | 0 (omitted)
|
------
-----------------------------------------------------------------------------------------
Score bootstrap-t, null imposed, 9999 replications, Wald test, clustering by NIC_2008, bootstr
> ap clustering by NIC_2008, Rademacher weights:
did
z = -2.6161
Prob>|z| = 0.0092
. generate cash_in_hand_bank_real_ln = .
(18,817 missing values generated)
. replace cash_in_hand_bank_real_ln = log(cash_in_hand_bank_real) if cash_in_hand_bank_real >
> 0 & cash_in_hand_bank_real < .
(18,664 real changes made)
. reghdfe cash_in_hand_bank_real_ln did i.state_cd i.year age age2 i.rural_urban_cd [pweight=m
> ult], absorb(NIC_2008) vce(cluster NIC_2008)
(MWFE estimator converged in 1 iterations)
warning: missing F statistic; dropped variables due to collinearity or too few clusters
HDFE Linear regression Number of obs = 18,664
Absorbing 1 HDFE group F( 38, 23) = .
Statistics robust to heteroskedasticity Prob > F = .
R-squared = 0.1535
Adj R-squared = 0.1507
Within R-sq. = 0.0764
Number of clusters (NIC_2008) = 24 Root MSE = 2.0800
(Std. err. adjusted for 24 clusters in NIC_2008)
-----------------------------------------------------------------------------------------
| Robust
cash_in_hand_bank_rea~n | Coefficient std. err. t P>|t| [95% conf. interval]
------------------------+----------------------------------------------------------------
did | .0679519 .1073844 0.63 0.533 -.1541896 .2900935
|
----
-----------------------------------------------------------------------------------------
Absorbed degrees of freedom:
-----------------------------------------------------+
Absorbed FE | Categories - Redundant = Num. Coefs |
-------------+---------------------------------------|
NIC_2008 | 24 24 0 *|
-----------------------------------------------------+
* = FE nested within cluster; treated as redundant for DoF computation
. boottest did, cluster(NIC_2008) reps(9999) weighttype(rademacher) nograph
Overriding estimator's cluster/robust settings with cluster(NIC_2008)
Wild bootstrap-t, null imposed, 9999 replications, Wald test, clustering by NIC_2008, bootstra
> p clustering by NIC_2008, Rademacher weights:
did
t(23) = 0.6328
Prob>|t| = 0.5768
95% confidence set for null hypothesis expression: [−.1486, .3701]
Comment