Skip to main content

All Questions

1 vote
2 answers
71 views

which non parametric test to use? friedman or Kruskal?

I am conducting a study on textrual complexity. We fed people food (3 types) over 3 sessions and asked questions about hunger levels. 20 participants were tested during 60 trials in total. Of the 14 ...
luke pringle's user avatar
4 votes
2 answers
1k views

How to create a B-spline basis without intercept and linear trend included?

I want to fit the following model using splines: \begin{align} Y(t) = \beta_0 + \beta_1t + \sum_{j=2}^{d} \beta_jB(t)_j \end{align} where $B_j$ are the basis functions. However, when I run the ...
Dries De Witte's user avatar
4 votes
1 answer
2k views

Construct piece-wise linear mixed effect models

I'm looking at the BMACS dataset(data(BMACS)), and is trying to construct a local constant fit without covariates using base functions B1(t) = 1 for t < 2, B2(t) = 1 for 2 <=t <4 and B3(t) = ...
lydias's user avatar
  • 163
2 votes
2 answers
5k views

Log transformation not making data normal

I have a data set with positive skewness when I log tranform it tends to be negatively skewed. Is there any other transformation that I can use or any statistical method works? Thanks!!!
Alph's user avatar
  • 525