Hi everyone,
I have a sample of 166 bonds (i.e. n=166). I have broken these down into subsamples based on some characteristics of the bonds, ending up with 8 subsamples (these are not mutually exclusive) based on three dummy variables.
For each of these subsamples, I want to test if the dependent variable (Yield) is significantly different from zero. I have run Shapiro Wilks and for 6 of the 8 subsamples I reject the normality hypothesis. From my understanding the Wilcoxon rank sum/Mann Whitney U-test is only used to test if the means from two samples are significantly different from each other. However, I only have one sample (i.e. each subsample), and I want to test if that subsample's mean is significantly different form zero. How do I go about doing this? For the two subsamples where I don't reject normality, should I run a one sample t test or should I use a non-parametric test for all subsamples?
Best,
Nils
Related Posts with How to test if the mean of a sample is significantly different from zero
Keeping the latest date when difference between two dates is 1 or 2 or 0 Hi, I want to retain the latest date when the difference between two BOD meeting dates is 1 or 2 o…
Controls in IV model are correlated with instrument?I am seeking to understand what it means for my IV model (2SLS, in Stata) if my controls are correla…
Help with the interpretation of margins effects at the means and adjusted predicted values for parametric survival modelsDear members, I am running a parametric survival model with a lognormal distribution. My dataset is…
SPSS Command to STATAHello all; Anybody know how to transform the following SPSS command into a STATA command? Thank you…
How to identify observations with special characters, numbers and whitespaces (expect leading and trailing spaces) - string varDear all, I am working with string data and I would like to identify observations that have special…
Subscribe to:
Post Comments (Atom)
0 Response to How to test if the mean of a sample is significantly different from zero
Post a Comment