I want to obtain WLS(Weighted Least Square) estimate susing -[aweight]- , I do not know what should be the value of -[aweight=?]-
My model is :
reg reject black obrat high_ltv medium_ltv unem credit_hist public_rec married, cformat(%9.3f)
And my dataset is :
input byte(reject black) float(obrat high_ltv medium_ltv unem) byte(married credit_hist public_rec)
0 0 37 0 0 3.2 1 1 0
0 0 21 0 0 3.1 1 1 0
0 0 7 0 1 10.6 1 1 0
0 0 35 0 1 2 0 1 0
0 0 29 0 0 1.8 1 1 0
0 0 33 0 1 3.2 0 1 0
0 0 40 0 0 3.9 0 1 0
0 0 33 0 1 3.1 1 1 0
0 0 37 1 0 3.2 1 1 0
0 0 19 0 0 1.8 1 1 0
0 0 34.7 0 0 3.2 0 1 0
0 0 33 0 0 4.3 0 1 0
0 0 35.2 0 1 10.6 1 1 0
0 0 34 0 0 1.8 0 1 0
1 0 7 0 0 3.6 1 1 0
0 0 36 0 0 3.9 1 1 0
0 0 33 0 0 3.2 1 1 0
0 0 17.8 0 0 4.3 1 1 0
0 0 41 0 0 3.2 1 1 0
0 0 29 0 0 4.3 0 1 0
0 0 42.1 0 0 5.3 1 1 0
0 0 35.5 1 0 10.6 1 1 0
0 0 17 0 0 4.3 1 1 0
0 0 38 0 1 3.2 1 1 0
0 0 33.1 0 0 10.6 1 1 0
0 0 35 0 1 1.8 0 1 0
0 0 33 0 1 1.8 1 1 0
0 0 24 0 1 3.6 1 1 0
0 0 35 0 1 3.1 1 1 0
0 0 24 0 0 3.2 1 1 0
0 0 31.1 0 1 3.2 0 1 0
0 0 39 0 0 3.2 1 1 0
0 0 35.6 0 0 1.8 1 1 0
0 0 16 0 0 10.6 1 1 0
0 0 22 0 1 3.2 0 1 0
1 0 16 0 1 3.2 0 0 1
0 0 31 0 1 4.3 1 1 0
0 0 23 0 0 3.1 1 1 0
0 0 37.2 0 1 3.2 1 1 0
0 0 30.1 1 0 1.8 0 1 0
0 0 35 0 1 2 1 1 0
0 0 42 0 1 3.2 0 1 0
0 0 24 0 0 5.3 1 1 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1 0 50.5 0 0 1.8 1 0 0
0 0 39 0 1 3.2 0 1 0
0 0 27.8 0 1 3.2 1 1 0
0 0 27 0 0 1.8 1 0 1
0 0 24 0 0 3.2 0 1 0
0 0 43 0 1 3.2 1 1 0
0 0 21 0 0 3.6 1 1 1
Related Posts with Wls
How to Estimste using regressionHave i done ii) wrong way around. https://imgur.com/a/1yQhvqq (Ignore answer after ik it's wrong an…
reghdfe for multi- clusteringHi all, I have a panel data for 477 firms for 2006 to 2016 and need to use two way fixed effects at…
Creating start and stop time-variables for continuous time dependent exposure and running a Cox modelHi All I hope you can help me with this query. I have attached a simplified dataset with all the va…
putdocxfreqtable updated: decimals percentages, value labels not truncatedThe package putdocxfreqtable has been updated after user input. 1. The number of decimals in percen…
Export Correlation Matrix to Excel: Putexcel No Longer WorkingHi Statalisters, I know this sounds quite trivial. I am surprised as well. I currently use Stata16 a…
Subscribe to:
Post Comments (Atom)
0 Response to Wls
Post a Comment