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
MGARCH VCC Predict Conditional correlationHi, I am trying to estimate the conditional correlation using a bivariate MGARCH-VCC model (Tse and…
How does the PPML command check for overfitting?Dear all, I have a question about the procedure how the PPML command is checking for overfitting. I…
Mata compiler ignores eltypes / orgtypes for variable declarationsHi, I was surprised to see that the Mata compiler seems to ignore much of the eltype and orgtype sp…
Robust standard errors - OLS - Right-skewed distributionHi, I am looking at data for returns of companies after their initial public offering. The return-d…
Several regressions in one output table: Independent variables in rows, dependent in columnsDear all, I am trying to create a specific table from Stata output, and have tried to do so using e…
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