While there have been so many things that we bump into our daily tasks, the time remains as the showstopper. We are being considerate about time but when actually there is a chance to prove that we fail miserably. So to account for all those small things, I have decided to dive deeply into the individuals usual day and try to find out the things that we all need to consider to improvise for the better us.
The term 'Statistics' has been widely used by the researchers all over the globe but the actual meaning and implementation of its techniques have been far from good.
The basic task for any statistical method to start upon is to gather the data, maybe in primary or a secondary format. This is indeed a difficult task because to gather some information you need people to answer your questions. And no one will be answering to you unless there is some kind of a known connection between you.
Anyways, the data I have collected is the primary form and to have a knowledge about the individuals daily pattern, I have shortlisted some statistical techniques that will be applied to meet some specific objectives. The tools used for these are SAS and R which are analytical tools precisely made for such tasks.
The Objective and Technique.
1) To understand which of the demographics are accountable or not for improvement in the daily routine for an individual.
For the first task to be accomplished the technique applied was Binary Logistic Regression. If you don't have an idea about this technique you can have a look at the following link
https://en.wikipedia.org/wiki/Logistic_regression
The type of variables used and the categories made can be obtained by filling the last link which contains only 3 questions and too not personal.
The above seen variables are the cleaned format data file contents and you need to keenly work on how to group the data because for logistic regression you will be converting each and every variable into a categorical type for better and more accurate results.
One more common mistake that is usually made is that we simply use the categorical variables into the logistic regression model which is absolutely wrong. We need to convert all the categorical variables into dummy variables in such a way that for a variable with 'n' categories the number of dummy variables is 'n-1'. One example is shown below for the variable with 6 categories.
Then comes the coding part of the model which was done in SAS.
(For the output you can contact me through the link provided below and also for the interpretations)
The ROC curve shows 77% of the area under it which is a good indicator of the model fitting. To judge a model like this we need to go for Hosmer-Lemeshow Goodness of fit test. The results obtained from this test are as follows
This table also shows that the model is a good fit. Finally you conclude the results as what variables were found to be significant or responsible for an individuals to need an improvement in his daily routine.
To get the variable types / categories / actual data /codes / interpretation.
Please fill the link below to get more help on such topics or suggest me anything where I can improve. ✔ https://goo.gl/forms/LO4IjcJCtvjeelR72
-------------Thank You-------------
The term 'Statistics' has been widely used by the researchers all over the globe but the actual meaning and implementation of its techniques have been far from good.
The basic task for any statistical method to start upon is to gather the data, maybe in primary or a secondary format. This is indeed a difficult task because to gather some information you need people to answer your questions. And no one will be answering to you unless there is some kind of a known connection between you.
Anyways, the data I have collected is the primary form and to have a knowledge about the individuals daily pattern, I have shortlisted some statistical techniques that will be applied to meet some specific objectives. The tools used for these are SAS and R which are analytical tools precisely made for such tasks.
The Objective and Technique.
1) To understand which of the demographics are accountable or not for improvement in the daily routine for an individual.
For the first task to be accomplished the technique applied was Binary Logistic Regression. If you don't have an idea about this technique you can have a look at the following link
https://en.wikipedia.org/wiki/Logistic_regression
The type of variables used and the categories made can be obtained by filling the last link which contains only 3 questions and too not personal.
The above seen variables are the cleaned format data file contents and you need to keenly work on how to group the data because for logistic regression you will be converting each and every variable into a categorical type for better and more accurate results.
One more common mistake that is usually made is that we simply use the categorical variables into the logistic regression model which is absolutely wrong. We need to convert all the categorical variables into dummy variables in such a way that for a variable with 'n' categories the number of dummy variables is 'n-1'. One example is shown below for the variable with 6 categories.
Variable X
|
1
|
1
|
0
|
0
|
0
|
0
|
2
|
0
|
1
|
0
|
0
|
0
|
|
3
|
0
|
0
|
1
|
0
|
0
|
|
4
|
0
|
0
|
0
|
1
|
0
|
|
5
|
0
|
0
|
0
|
0
|
1
|
|
6
|
-1
|
-1
|
-1
|
-1
|
-1
|
Then comes the coding part of the model which was done in SAS.
(For the output you can contact me through the link provided below and also for the interpretations)
The ROC curve shows 77% of the area under it which is a good indicator of the model fitting. To judge a model like this we need to go for Hosmer-Lemeshow Goodness of fit test. The results obtained from this test are as follows
This table also shows that the model is a good fit. Finally you conclude the results as what variables were found to be significant or responsible for an individuals to need an improvement in his daily routine.
To get the variable types / categories / actual data /codes / interpretation.
Please fill the link below to get more help on such topics or suggest me anything where I can improve. ✔ https://goo.gl/forms/LO4IjcJCtvjeelR72
-------------Thank You-------------
Comments
Post a Comment