daily pastebin goal
77%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. library(lsr)
  2. pairedSamplesTTest(formula = ~ WB_T2 + WB_T1,
  3.        data = prepost)
  4.    
  5. Paired samples t-test
  6.  
  7. Variables:  WB_Avg2 , WB_Avg
  8.  
  9. Descriptive statistics:
  10.             WB_Avg2 WB_Avg difference
  11.    mean       3.169  3.006      0.162
  12.    std dev.   0.468  0.465      0.383
  13.  
  14. Hypotheses:
  15.    null:        population means equal for both measurements
  16.    alternative: different population means for each measurement
  17.  
  18. Test results:
  19.    t-statistic:  4.892
  20.    degrees of freedom:  132
  21.    p-value:  <.001
  22.  
  23. Other information:
  24.    two-sided 95% confidence interval:  [0.097, 0.228]
  25.    estimated effect size (Cohen's d):  0.424
  26.    
  27. fit <- lm(WB_Avg ~ WB_Avg2*BF_Conscientiousness, data = prepost)
  28. summary(fit)
  29.    
  30. Call:
  31. lm(formula = WB_Avg ~ WB_Avg2 * BF_Conscientiousness, data = prepost)
  32.  
  33. Residuals:
  34.      Min       1Q   Median       3Q      Max
  35. -0.97588 -0.24927 -0.02415  0.23182  0.82299
  36.  
  37. Coefficients:
  38.                              Estimate Std. Error t value Pr(>|t|)    
  39. (Intercept)                  -1.16709    0.85387  -1.367  0.17406    
  40. WB_Avg2                       1.23733    0.27272   4.537 1.29e-05 ***
  41. BF_Conscientiousness          0.62495    0.23760   2.630  0.00957 **
  42. WB_Avg2:BF_Conscientiousness -0.17303    0.07442  -2.325  0.02162 *  
  43. ---
  44. Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
  45.  
  46. Residual standard error: 0.3397 on 129 degrees of freedom
  47. Multiple R-squared:  0.4788,    Adjusted R-squared:  0.4667
  48. F-statistic: 39.51 on 3 and 129 DF,  p-value: < 2.2e-16
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top