联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> OS作业OS作业

日期:2024-04-11 05:48

Data creation

Dataset requirements

The data you create should have:

-    A continuous outcome variable

-    Two predictor variables: one categorical and the other either categorical or continuous

-    Any other variables that you would record with the experiment and methods you propose

For example, let’s say you proposed a lexical decision task to determine whether listeners respond faster to words and nonwords with a simple onset (a consonant followed by a vowel) versus a complex onset (two or more consonants followed by a vowel). You recorded participant responses and response times. You controlled for the number of syllables in the word. You had 48 trials and ran 20 participants. You might have the following variables:

-     participant a number from 1 to 20

-    trial a number from 1 to 48

-     stimulus – the word that listeners heard on that trial

-     real.word a categorical variable with the levels yesand no

-    onset – a categorical variable with the levels “simple” and “complex”

-     num.syl the number of syllables from 1 to 3

-     response a categorical variable with the levels yes and no

-     RT the reaction time of the response (measured in seconds)

With that example, the first few rows of the data might look like this:

participant

trial

stimulus

real.word

onset

num.syl

response

RT

1

1

fafelp

no

simple

1

no

0.552

1

2

cradle

yes

complex

2

yes

0.349

1

3

fork

yes

simple

1

yes

0.330

Two datasets

You need to create two different datasets. It should be like you ran the same experiment twice and got two different results. Continuing the example above, one dataset might show that simple onsets are processed faster across the board, and the other dataset shows that simple onsets are faster for real words but complex onsets are faster for nonwords.

Save the datasets as separate .csv files. I recommend fully creating one dataset first. It will likely be easiest to use that complete dataset as a starting point for your second dataset.

You’ll also turn in the R file that creates your data. It should include relevant count() and summarise() queries on your two datasets to show the difference that you created.


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp