Dear all,
I have the following survey data, where Loan-to-Value (LTV) refers to the LTV ratio of each household in the dataset. I want to find the median value of LTV for each year. For example, in 2011 get a single value for LTV based on the number of observations falling into 2011. The same for each year. My very inefficient way of going about it is:
mi estimate, vceok: svy: medianize LTV if (year==2010)
medianize is an ado file.
My question is whether the above command will give me the correct results.
Year Loan-to-value
Thanks
Ilias
I have the following survey data, where Loan-to-Value (LTV) refers to the LTV ratio of each household in the dataset. I want to find the median value of LTV for each year. For example, in 2011 get a single value for LTV based on the number of observations falling into 2011. The same for each year. My very inefficient way of going about it is:
mi estimate, vceok: svy: medianize LTV if (year==2010)
medianize is an ado file.
My question is whether the above command will give me the correct results.
Year Loan-to-value
2010 | 78.85555 |
2011 | |
2011 | 75 |
2011 | 70.10143 |
2011 | |
2011 | |
2012 | |
2012 | 34.29438 |
2012 | |
2012 | |
2012 | |
2012 | |
2012 | |
2012 | |
2012 | 83.78378 |
2013 | |
2013 | |
2013 | |
2013 | 97.29729 |
Ilias
Comment