Hi,
I have a data set on tumors with the variables karnofsky index/KI (categorical with values 40, 60, 80, 90, 100) and gross tumor volume/GTV (continuous, m3), among others. I have done a linear regression showing a significant negative correlation between the two (coefficient -0.16, p 0.007).
1. I want to visualise the relationship, f.eks with a scatter plot, but as KI is categorical and GTV is continuous, it ends up looking very strange and I cannot see a linear relationship. I have transformed the GTV variable with cube root because it was very left-skewed, but KI has a normal distribution. Do I still have to transform KI to get a linear relationship?Or convert it to a continuous variable?
Array
2. I want to calculate the Pearon's correlation coefficient, but as far as I know assumptions are that the variables must be continuous and have a linear relationship. How do I solve this? By transforming one or both values?
Thanks in advance,
Best regards
Related Posts with Transformation of values
graph export, as(pdf) fails to add special characters in the graph legend if inside {fontface "...": ...}Hi, I am trying to export a plot where I include special characters in the legend while I also set t…
Possible to put interaction terms of X and indictors of Y quintile in a regression?Dear Statalist users, I am wondering if I would estimate a regression like this: Y = X + X * Y_Q2 …
National level survey dataHello, I have a national level survey dataset. On household level, it has around 5988 observation. B…
Creating 5 mutually non-exclusive groupsI have the dataset on employment sector of households as; A. Wage in agri B. Wage in non agri C. Sel…
how to create a cross-tabulation, dummy variables and regression with wide dataCan someone help me a syntax to use on how to i run cross tabulations, create dummy variables and ru…
Subscribe to:
Post Comments (Atom)
0 Response to Transformation of values
Post a Comment