I'm wondering if there's a way to use logarithms in a Qualtrics survey using embedded data to and show the result of the equation to the respondent? I've looked at the Math Operation page to start me off and am aware that it has an exponent function.
The respondent would provide the following in an earlier block:
* Female (1=yes, 0=no)
* Age (in years)
* Systolic Blood Pressure (in mmHg)
* Smoking (1=yes or quit within the last year, 0 = otherwise)
* Total Choleterol (in mmol/L)
* HDL Cholesterol (in mmol/L)
* Diabetes (1= yes, 0 = no)
* ECG-LVH (1=definite, 0 = otherwise)
And using the above respondent input data the following calculations will be made:
First:
μ=(ln(t)-x)/y
where x = 18.8144+(-1.2146×x female)+[-1.8443 x ln(age)]+[0.3668 x ln(age)×female]+[-1.4032 x ln(SBP) ]+(-0.3899 x cigarettes)+[-0.5390 x ln(total chol÷HDL) ]+(-0.3036 x diabetes)+(-0.1697 x diabetes x female)+(-0.1362 x ECG-LVH)
where y=exp[0.6536+0.2402(x)]
To calculate:
1-exp(-exp(μ) )
The result of the above equation would then be presented to the respondent.
Is this possible?
Thanks for your help in advance,
Michael
Best answer by JenCX
View original