Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lognormal data 1 sample t-test #305

Open
7 tasks
DrLynTaylor opened this issue Sep 16, 2024 · 0 comments
Open
7 tasks

lognormal data 1 sample t-test #305

DrLynTaylor opened this issue Sep 16, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@DrLynTaylor
Copy link
Collaborator

DrLynTaylor commented Sep 16, 2024

One possibility may be the `tTestLnormAltPower()` function from the **EnvStats** package. This package has not been evaluated yet.

Can someone look into whether SAS option 'dist=lognormal' gives the same results, as simply taking the natural log transform the data, calculating the t-test p-value & the mean/ CIs on the log scale and then exponentiating them back in order to get the t-test for lognormal data. (add that SD can't be back transformed).. If these give same results as SAS then update Comparison to say although option not available in R, can do it using log / anti-log. Could also look into the EnvStats Package to see if their function is possible & reliable alternative

Please whoever does the update, check paired t-test & two-sample t-test as if they reference EnvStats & lognormal, the same update would be needed there.

  • check how to analysis data on the log scale
  • update one sample t-test
  • update paired t-test
  • update two sample t-test (if needed)
  • update R pages
  • update SAS pages
  • Update comparison (it can be done easily using log / anti-log & gets same results.. .(If that is true as proven above!)
@DrLynTaylor DrLynTaylor added the good first issue Good for newcomers label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant