Hi all,
This might be really simple question about out of sample tests, but still I couldn't find any help from youtube, so I try this. I briefly explain my context and then give you the exact question.
I want to investigate what factors contribute to the probability of a target to be taken over. For this I have two data sets, estimation sample which contains financial ratios for both targets and non-targets from 2001 to 2014. The second data set, prediction sample, is identical by structure, but it contain data from 2015 to 2018. Dependent variable is just a ''Target(1)/Non-target(0)''- dummy, whereas the financial ratios are independent variables. I use conditional logistic regression model as it is possibly to group targets and non-targets by year and industry.
So now I have ran some conditional logistic regressions for the estimation sample and decided what variables are incorporated in my conditional logistic regression model. Then now I should run this model with the prediction sample as out-of sample test. My goal is to test how well my model can classify targets from non-targets and non-targets from targets within the prediction sample. For example, conditional logistic model classifies 70% of target correctly and 60% of non-targets correctly.
To my question, how do I proceed with Stata now when I have constructed the conditional logistic regression model and have the prediction sample data in place for out of sample test. How do I get those probabilities?
I hope someone can help me.
Many thanks,
Max Immonen
Related Posts with Out of sample tests with conditional logistic regression
Input oriented model in Stochastic Frontier AnalysisDear all, I am using the command "sfcross" to estimate a stochastic frontier analysis with one inpu…
Linear regression model, volatility measure, stock return predictabilityHi, Statalist! I am writing a thesis on the stock market predictability, using a linear regression…
composing two different summary statistics tables with one dataset.Hello again, I'm working on a project on which I have to analyse VC-backed ICOs with non-VC-backed …
Marginsplot, legend and by()Dear Stata Users, I am producing a graph with marginsplot throug the following commands and options…
Bar Graph - Highlight Specific BarArray I have generated the above graph using the following code : Code: graph bar, over(region) bl…
Subscribe to:
Post Comments (Atom)
0 Response to Out of sample tests with conditional logistic regression
Post a Comment