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
Trouble plotting standard deviation - Sigma convergenceHi, I am new to Stata and have been trying to plot the standard deviation of my whole sample and th…
How toI have quite a simple problem. But STATA is new to me. my code is : y age gender: egen UIdur_mean …
Question about using if flag + tab togetherHi all, I am trying to create a Table 1 using Medicare claims to compare demographics among people …
Graph combine formattingDear All, I am trying to combine coefficient plots from 3 different regressions. My data looks as f…
Counting unique observations in a complicated data structureDear Statalist, I have a panel data on the level of towns and their administrative parts. Each town…
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