I am using the Quality of life (QoL) instrument called EORTC qlq-c30. I am trying to scooring it based on the oficial scoring guide for this instrument where user written stata coding is provided. I have atached the scoring manual for stata which can also be found following the below link - (or google "eortc qlq-c30 scoring manual" if not feeling like following others link) - please go to page 68.
https://www.eortc.org/app/uploads/si...2/SCmanual.pdf
When I finally run the command "qlqscal 3" stata provides me with no errormessage, but as far as I can see nothing happens (no new variables are created).
I must be doing something wrong here - it is my first time working with ado files.
What i have done
1. copy pasted the entire page 70 into the dofile editor - saving it as qlqsub.ado in my personal folder (documents/stata/ado/personal)
2. copy pasted the entire page 71 into the dofile editor - saving it as qlqscal.ado in my personal folder (documents/stata/ado/personal)
3. copy pasted the second column of page 73 and the entire page 74 into the dofile editor - saving it as qlqlabl.ado in my personal folder (documents/stata/ado/personal)
#1-3 is attached
4. loading the dataset with the questionaire data (as provided in the dataex here)
5. runnign the following code
As I have understood the scoring manual p 68 loads of new variables should be created. In my siuation it seems as the qlqscal 3 command is accepted but that nothing comes out of it.
I would be very gratefull if anyuone can steer me in the right direction.
https://www.eortc.org/app/uploads/si...2/SCmanual.pdf
When I finally run the command "qlqscal 3" stata provides me with no errormessage, but as far as I can see nothing happens (no new variables are created).
I must be doing something wrong here - it is my first time working with ado files.
What i have done
1. copy pasted the entire page 70 into the dofile editor - saving it as qlqsub.ado in my personal folder (documents/stata/ado/personal)
2. copy pasted the entire page 71 into the dofile editor - saving it as qlqscal.ado in my personal folder (documents/stata/ado/personal)
3. copy pasted the second column of page 73 and the entire page 74 into the dofile editor - saving it as qlqlabl.ado in my personal folder (documents/stata/ado/personal)
#1-3 is attached
4. loading the dataset with the questionaire data (as provided in the dataex here)
Code:
* Example generated by -dataex-. For more info, type help dataex clear input int record_id byte(q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 q16 q17 q18 q19 q20 q21 q22 q23 q24 q25 q26 q27 q28 q29 q30) 403 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 5 5 404 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 7 7 406 3 3 1 1 1 2 2 1 3 2 1 2 2 1 1 1 2 2 3 2 2 3 1 1 2 2 1 1 5 5 416 3 4 3 4 1 2 2 1 4 3 4 2 4 2 2 3 3 3 4 1 1 1 1 2 1 2 2 1 2 2 421 4 3 1 2 1 3 2 1 1 1 1 1 1 1 1 4 3 2 1 1 1 1 1 1 3 1 1 1 6 4 424 1 1 1 1 1 2 2 1 2 2 2 1 1 2 1 1 2 2 2 1 3 3 1 2 1 1 1 1 3 3 428 1 2 1 1 1 3 1 1 2 2 2 1 1 1 1 1 1 2 1 1 1 2 1 1 1 1 1 1 4 4 432 3 3 2 1 1 2 1 1 1 2 1 1 1 1 1 1 2 1 1 1 1 4 1 2 1 1 1 1 6 6 435 2 3 1 2 1 3 2 2 2 2 4 3 3 2 1 2 2 2 1 2 3 3 2 3 2 1 2 1 4 4 446 3 1 1 1 1 2 1 1 1 2 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 6 6 end
5. runnign the following code
Code:
personal dir qlqscal 3
I would be very gratefull if anyuone can steer me in the right direction.
Comment