Skip to content

Commit

Permalink
more answers
Browse files Browse the repository at this point in the history
  • Loading branch information
lhbikos committed Jul 14, 2023
1 parent 5992104 commit 6cf6164
Show file tree
Hide file tree
Showing 78 changed files with 4,086 additions and 1,014 deletions.
428 changes: 214 additions & 214 deletions .Rhistory

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ h4:locate-the-test-critical-value-for-your-test Locate the test critical value f
h4:is-the-t-test-statistically-significant-why-or-why-not Is the -test statistically significant? Why or why not?
h4:calculate-the-confidence-interval-around-the-difference-in-sample-means Calculate the confidence interval around the difference in sample means
h4:calculate-the-effect-size-i.e.-cohens-d-associated-with-your-t-test Calculate the effect size (i.e., Cohen’s d associated with your -test
h4:assemble-the-results-into-a-statistical-string Assemble the results into a statistical string

2 changes: 1 addition & 1 deletion .Rproj.user/FFFF18A2/pcs/source-pane.pper
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"activeTab": 1,
"activeTab": 2,
"activeTabSourceWindow0": 0
}
2 changes: 1 addition & 1 deletion .Rproj.user/FFFF18A2/pcs/windowlayoutstate.pper
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"left": {
"splitterpos": 497,
"topwindowstate": "NORMAL",
"topwindowstate": "MAXIMIZE",
"panelheight": 1194,
"windowheight": 1232
},
Expand Down
6 changes: 3 additions & 3 deletions .Rproj.user/FFFF18A2/rmd-outputs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
C:/Users/lhbik/OneDrive/SPU backup/ReCentering Volumes/ReCenterPsychStats/docs/index.html
C:/Users/lhbik/OneDrive/SPU backup/ReCentering Volumes/ReCenterPsychStats/docs/index.html
C:/Users/lhbik/OneDrive/SPU backup/ReCentering Volumes/ReCenterPsychStats/docs/index.html
C:/Users/lhbik/OneDrive/SPU backup/ReCentering Volumes/ReCenterPsychStats/docs/index.html
C:/Users/lhbik/OneDrive/SPU backup/ReCentering Volumes/ReCenterPsychStats/docs/index.html
C:/Users/lhbik/OneDrive/SPU backup/ReCentering Volumes/ReCenterPsychStats/docs/tPaired.html
C:/Users/lhbik/OneDrive/SPU backup/ReCentering Volumes/ReCenterPsychStats/Worked_Examples/docs/index.html
C:/Users/lhbik/OneDrive/SPU backup/ReCentering Volumes/ReCenterPsychStats/Worked_Examples/docs/index.html



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"path": "C:/Users/lhbik/OneDrive/SPU backup/ReCentering Volumes/ReCenterPsychStats/Worked_Examples/15-4-woRked_tInd.Rmd",
"project_path": "Worked_Examples/15-4-woRked_tInd.Rmd",
"type": "r_markdown",
"hash": "0",
"hash": "4272966294",
"contents": "",
"dirty": false,
"created": 1688687953995.0,
Expand All @@ -12,15 +12,15 @@
"properties": {
"source_window_id": "",
"Source": "Source",
"cursorPosition": "156,49",
"scrollLine": "196"
"cursorPosition": "269,0",
"scrollLine": "237"
},
"folds": "",
"lastKnownWriteTime": 1688688134,
"lastKnownWriteTime": 1689300267,
"encoding": "UTF-8",
"collab_server": "",
"source_window": "",
"last_content_update": 1688688134803,
"last_content_update": 1689300267820,
"read_only": false,
"read_only_alternatives": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ I will create a mean score of completed items from the traditional pedagogy scal
TradPed_vars <- c('ClearResponsibilities', 'EffectiveAnswers','Feedback', 'ClearOrganization','ClearPresentation')

#Calculates a mean if at least 75% of the items are non-missing; adjusts the calculating when there is missingness
JustANOVA$TradPed <- sjstats::mean_n(JustANOVA[, TradPed_vars], .75)
JustANOVA$TradPed <- sjstats::mean_n(JustANOVA[, ..TradPed_vars], .75)

```

Expand Down Expand Up @@ -268,3 +268,7 @@ $$d = t\sqrt{\frac{N_{1}+N_{2}}{N_{1}N_{2}}}$$
1.209929 * (sqrt((81 + 31)/(81 * 31)))
```

#### Assemble the results into a statistical string

$t(110) = 1.210, p > 0.05, CI95 (-0.000, 0.517), d = 0.256$

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"path": "C:/Users/lhbik/OneDrive/SPU backup/ReCentering Volumes/ReCenterPsychStats/Worked_Examples/15-2-woRked_Preliminaries.Rmd",
"project_path": "Worked_Examples/15-2-woRked_Preliminaries.Rmd",
"type": "r_markdown",
"hash": "0",
"hash": "3222066291",
"contents": "",
"dirty": false,
"created": 1688688049906.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"path": "C:/Users/lhbik/OneDrive/SPU backup/ReCentering Volumes/ReCenterPsychStats/Worked_Examples/15-5-woRked_tPaired.Rmd",
"project_path": "Worked_Examples/15-5-woRked_tPaired.Rmd",
"type": "r_markdown",
"hash": "0",
"hash": "3888683731",
"contents": "",
"dirty": false,
"created": 1688687880818.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"path": "C:/Users/lhbik/OneDrive/SPU backup/ReCentering Volumes/ReCenterPsychStats/index.Rmd",
"project_path": "index.Rmd",
"type": "r_markdown",
"hash": "0",
"hash": "3439837305",
"contents": "",
"dirty": false,
"created": 1687550524832.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"path": "C:/Users/lhbik/OneDrive/SPU backup/ReCentering Volumes/ReCenterPsychStats/05-tIndSample.Rmd",
"project_path": "05-tIndSample.Rmd",
"type": "r_markdown",
"hash": "0",
"hash": "2163161128",
"contents": "",
"dirty": false,
"created": 1689289612378.0,
Expand All @@ -12,15 +12,15 @@
"properties": {
"source_window_id": "",
"Source": "Source",
"cursorPosition": "485,131",
"scrollLine": "461"
"cursorPosition": "586,59",
"scrollLine": "547"
},
"folds": "",
"lastKnownWriteTime": 1689290637,
"lastKnownWriteTime": 1689300014,
"encoding": "UTF-8",
"collab_server": "",
"source_window": "",
"last_content_update": 1689290637542,
"last_content_update": 1689300014398,
"read_only": false,
"read_only_alternatives": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -577,14 +577,15 @@ Regardless which option(s) you chose, use the elements in the grading rubric to
|:-----------------------------------------|:-------------:|:--------------|
|1. Using traditional NHST (null hypothesis testing language), state your null and alternative hypotheses| 2 |
|2. Using an R package or functions in base R, calculate the means and standard deviations for both levels of the dependent variable | 4 | |
|3. Calulate the SE used in the denominator of the *t*-test |4 | |
|3. Calculate the SE used in the denominator of the *t*-test |4 | |
|4. Calculate the independent samples *t*-test| 4 ||
|5. Identify the degrees of freedom associated with your *t*-test | 2 |
|6. Locate the test critical value for your test |2 | |
|7. Is the *t*-test statistically significant? Why or why not? | 2 | |
|8. What is the confidence interval around the difference in sample means? |4 | |
|9. Calculate the effect size (i.e., Cohen's *d* associated with your *t*-test |4 | |
|**Totals* ** | 28 | |
|9.Calculate the effect size (i.e., Cohen's *d* associated with your *t*-test |4 | |
|10. Assemble the results into a statistical string |4 | |
|**Totals* ** | 32 | |

```{r, child= 'Worked_Examples/15-4-woRked_tInd.Rmd', echo=FALSE}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"path": "C:/Users/lhbik/OneDrive/SPU backup/ReCentering Volumes/ReCenterPsychStats/06-tPairedSamples.Rmd",
"project_path": "06-tPairedSamples.Rmd",
"type": "r_markdown",
"hash": "0",
"hash": "3273056921",
"contents": "",
"dirty": false,
"created": 1688687841095.0,
Expand Down
4 changes: 2 additions & 2 deletions .Rproj.user/FFFF18A2/sources/prop/188500FE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "156,49",
"scrollLine": "196"
"cursorPosition": "269,0",
"scrollLine": "237"
}
4 changes: 2 additions & 2 deletions .Rproj.user/FFFF18A2/sources/prop/1BC93D24
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "485,131",
"scrollLine": "461"
"cursorPosition": "586,59",
"scrollLine": "547"
}
58 changes: 0 additions & 58 deletions .Rproj.user/FFFF18A2/sources/session-a164f34a/5235A6EC-contents

This file was deleted.

Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"chunk_definitions":[{"row":25,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-78"},"document_id":"54F587F7","chunk_id":"cbwedut0qq1rs","chunk_label":"unnamed-chunk-1"},{"row":31,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-79"},"document_id":"54F587F7","chunk_id":"ckjjsf1auy87v","chunk_label":"unnamed-chunk-2"},{"row":42,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-80"},"document_id":"54F587F7","chunk_id":"cpdhdcy37azvu","chunk_label":"unnamed-chunk-3"},{"row":48,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-81"},"document_id":"54F587F7","chunk_id":"c33r9rgnugv6k","chunk_label":"unnamed-chunk-4"},{"row":54,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-82"},"document_id":"54F587F7","chunk_id":"c65yz21qpwqht","chunk_label":"unnamed-chunk-5"},{"row":64,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-83"},"document_id":"54F587F7","chunk_id":"c11etp2eedij1","chunk_label":"unnamed-chunk-6"},{"row":70,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-84"},"document_id":"54F587F7","chunk_id":"c63tcoso2dbhx","chunk_label":"unnamed-chunk-7"},{"row":81,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-85"},"document_id":"54F587F7","chunk_id":"c9bts2kevbi96","chunk_label":"unnamed-chunk-8"},{"row":97,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-86"},"document_id":"54F587F7","chunk_id":"cqp6fwu7deb98","chunk_label":"unnamed-chunk-9"},{"row":107,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-87"},"document_id":"54F587F7","chunk_id":"crttd5icukdud","chunk_label":"unnamed-chunk-10"},{"row":115,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","tidy":true,"tidy.opts":{"width.cutoff":70},"label":"unnamed-chunk-88"},"document_id":"54F587F7","chunk_id":"co4xbbxlszqgd","chunk_label":"unnamed-chunk-11"},{"row":128,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","tidy":true,"tidy.opts":{"width.cutoff":70},"label":"unnamed-chunk-89"},"document_id":"54F587F7","chunk_id":"co2mcamtg7uft","chunk_label":"unnamed-chunk-12"},{"row":136,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-90"},"document_id":"54F587F7","chunk_id":"cl3e5gi72wmr9","chunk_label":"unnamed-chunk-13"},{"row":157,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-91"},"document_id":"54F587F7","chunk_id":"c3ogbgfuit1ub","chunk_label":"unnamed-chunk-14"},{"row":168,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","tidy":true,"tidy.opts":{"width.cutoff":70},"label":"unnamed-chunk-92"},"document_id":"54F587F7","chunk_id":"czrk9er70rra2","chunk_label":"unnamed-chunk-15"},{"row":178,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-93"},"document_id":"54F587F7","chunk_id":"c6aqxakip7o3q","chunk_label":"unnamed-chunk-16"},{"row":185,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-94"},"document_id":"54F587F7","chunk_id":"cphx8gsoie2xj","chunk_label":"unnamed-chunk-17"},{"row":202,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-95"},"document_id":"54F587F7","chunk_id":"cjxxctmc08v0o","chunk_label":"unnamed-chunk-18"},{"row":214,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-96"},"document_id":"54F587F7","chunk_id":"c02guvr35nkmc","chunk_label":"unnamed-chunk-19"},{"row":221,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","tidy":true,"tidy.opts":{"width.cutoff":70},"label":"unnamed-chunk-97"},"document_id":"54F587F7","chunk_id":"c8mcchlbripsd","chunk_label":"unnamed-chunk-20"},{"row":240,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-98"},"document_id":"54F587F7","chunk_id":"cn9dzqmlw7gw5","chunk_label":"unnamed-chunk-21"},{"row":257,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-99"},"document_id":"54F587F7","chunk_id":"cvmsk0aqbvafa","chunk_label":"unnamed-chunk-22"},{"row":268,"row_count":1,"visible":true,"expansion_state":0,"options":{"engine":"r","label":"unnamed-chunk-100"},"document_id":"54F587F7","chunk_id":"c53qwvcyoxsl6","chunk_label":"unnamed-chunk-23"}],"doc_write_time":1689299982}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"0","sqrt((0.7547259^2/81) + (1.0948953^2/31))"
"1","[1]"
"1"," 0.2137828"
"1","
"
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
"0","str(IndT_df)"
"1","Classes"
"1"," "
"1","‘data.table’"
"1"," "
"1","and "
"1","'data.frame': "
"1",""
"1","112"
"1",""
"1"," obs. of "
"1",""
"1","2"
"1",""
"1"," variable"
"1",""
"1","s"
"1",""
"1",":"
"1",""
"1","
"
"1"," "
"1",""
"1","$ "
"1",""
"1","Dept "
"1",""
"1",":"
"1"," chr "
"1",""
"1","""CPY"" ""CPY"" ""CPY"" ""CPY"""
"1",""
"1"," ..."
"1",""
"1","
"
"1"," "
"1",""
"1","$ "
"1",""
"1","TradPed"
"1",""
"1",":"
"1"," num "
"1",""
"1","4.4 3.8 4 3 4.8 3.5 4.6 3.8 3.6 4.6"
"1",""
"1"," ..."
"1",""
"1","
"
"1"," "
"1",""
"1","- attr(*, "".internal.selfref"")="
"1","<externalptr> "
"1",""
"1",""
"1",""
"1","
"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"0","IndT_df <-(dplyr::select (JustANOVA, Dept, TradPed))"
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"0","apaTables::apa.1way.table(Dept, TradPed, IndT_df)"
"1","

"
"1","Descriptive statistics for TradPed as a function of Dept. "
"1"," "
"1","
"
"1","
"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"classes":["data.frame"],"nrow":2,"ncol":3,"summary":{"Description":["df [2 × 3]"]}}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"1","
"
"1","Note. M and SD represent mean and standard deviation, respectively.
"
"1"," "
"1","
"
"1","
"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"0","1.209929 * (sqrt((81 + 31)/(81 * 31)))"
"1","[1]"
"1"," 0.2555321"
"1","
"
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"0","IndT_df$Dept <- factor(IndT_df$Dept)"
"0","str(IndT_df$Dept)"
"1"," Factor w/ 2 levels ""CPY"",""ORG"": "
"1",""
"1","1 1 1 1 1 1 1 1 1 1"
"1",""
"1"," ..."
"1",""
"1","
"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"0","IndT_df <- na.omit(IndT_df)"
Loading

0 comments on commit 6cf6164

Please sign in to comment.