Hello There, Guest!  

[OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer

#44
(2014-Sep-09, 21:25:33)Dalliard Wrote: The syntax should be ok. What's the specific problem you're having?


Remember your blog post on race-ACE interaction on CNLSY79 ? When I use your syntax, R stops at the beginning and says the variable C0000100 can't be found. That's nonsense because saw it in your data (the one you sent me few months ago). When I use the syntax John gave me, it works better:

rm(list=ls(all=TRUE))
library(NlsyLinks)
filePathOutcomes <-'c:\\Users\\John\\Desktop\\CNLSYALL\\CNLSYALLS10312013PLUSresbyyear3.csv'
dsOutcomes <- ReadCsvNlsy79Gen2(filePathOutcomes)
dsOutcomes <- RenameNlsyColumn(dsOutcomes, "C0005300", "Race")
dsOutcomesSubset <- dsOutcomes
dsOutcomesSubset <- dsOutcomes[dsOutcomes$Race==3, ]
dsLinks <- Links79PairExpanded
dsDouble <- CreatePairLinksDoubleEntered(outcomeDataset=dsOutcomesSubset, linksPairDataset=dsLinks, outcomeNames=c("RC94res"))
ace <- AceUnivariate( method="DeFriesFulkerMethod3", dataSet=dsDouble, oName_1="RC94res_1", oName_2="RC94res_2" )
ace
GetDetails(ace)
summary(GetDetails(ace))

But I have a message when I arrive at this point :

ace <- AceUnivariate( method="DeFriesFulkerMethod3", dataSet=dsDouble, oName_1="RC94res_1", oName_2="RC94res_2" )

unused argument(s) (oName_1 = "RC94res_1", oName_2 = "RC94res_2")

And this, is curious, because the two variables exist in the data. In general, I don't use the data in SPSS format, but rather, the .csv file you and John you gave me before. This package works for him and you, but not with me.

(2014-Sep-09, 21:25:33)Dalliard Wrote: I rather doubt that the CIs would be correct because NlsyLinks ignores non-independence across pairs.


I couldn't verify, because in fact the NlsyLinks never run properly for me.

If you are willing to email people around for review, I can suggest it's best to email people who had works closest to yours. For example, Beaver (2013) referenced in your article has reported the heritability for blacks and whites. You can also try to find the mail of Guo and Hart. Perhaps Loehlin too.
 Reply
 
Messages In This Thread
[OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Chuck - 2014-Jul-14, 06:25:48
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Emil - 2014-Jul-14, 10:45:09
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Meng Hu - 2014-Jul-14, 19:57:08
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Chuck - 2014-Jul-19, 22:37:13
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Chuck - 2014-Aug-05, 22:39:40
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Emil - 2014-Aug-07, 19:25:59
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Chuck - 2014-Aug-07, 22:27:33
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Chuck - 2014-Aug-08, 00:32:10
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Chuck - 2014-Aug-19, 03:11:37
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Emil - 2014-Aug-08, 00:29:43
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Emil - 2014-Aug-19, 09:36:33
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Chuck - 2014-Aug-19, 19:22:42
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Duxide - 2014-Aug-19, 19:33:48
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Chuck - 2014-Aug-19, 20:27:44
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Duxide - 2014-Aug-19, 20:56:25
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Emil - 2014-Aug-19, 21:23:08
RE: Genetic and Environmental Determinants of IQ - by Meng Hu - 2014-Aug-21, 01:11:58
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Chuck - 2014-Aug-21, 01:25:25
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Meng Hu - 2014-Aug-21, 02:29:13
RE: Genetic and Environmental Determinants of IQ - by Dalliard - 2014-Aug-21, 19:58:04
RE: Genetic and Environmental Determinants of IQ - by Meng Hu - 2014-Aug-21, 21:11:34
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Chuck - 2014-Aug-21, 23:43:11
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Duxide - 2014-Aug-21, 22:57:35
RE: Genetic and Environmental Determinants of IQ - by Dalliard - 2014-Aug-21, 23:45:22
RE: Genetic and Environmental Determinants of IQ - by Meng Hu - 2014-Aug-22, 04:19:42
RE: Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Americans - by Chuck - 2014-Aug-22, 04:25:14
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Meng Hu - 2014-Sep-02, 23:40:26
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Chuck - 2014-Sep-03, 02:48:14
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Meng Hu - 2014-Sep-07, 01:49:42
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Chuck - 2014-Sep-07, 19:35:52
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Duxide - 2014-Sep-08, 13:02:31
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Chuck - 2014-Sep-08, 15:16:27
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Emil - 2014-Sep-07, 21:44:22
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Chuck - 2014-Sep-07, 23:34:54
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Emil - 2014-Sep-07, 23:51:24
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Meng Hu - 2014-Sep-08, 00:21:20
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Emil - 2014-Sep-08, 00:36:38
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Emil - 2014-Sep-08, 15:04:06
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Duxide - 2014-Sep-08, 17:48:27
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Duxide - 2014-Sep-08, 18:01:30
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Chuck - 2014-Sep-08, 19:44:52
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Duxide - 2014-Sep-08, 19:48:12
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Chuck - 2014-Sep-11, 23:19:01
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Duxide - 2014-Sep-12, 10:53:22
RE: [OBG] Genetic and Environmental Determinants of IQ - by Dalliard - 2014-Sep-09, 21:25:33
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Meng Hu - 2014-Sep-10, 01:12:35
RE: [OBG] Genetic and Environmental Determinants of IQ - by Dalliard - 2014-Sep-11, 18:27:00
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Emil - 2014-Sep-11, 23:29:03
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Chuck - 2014-Sep-11, 23:35:43
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Emil - 2014-Sep-11, 23:44:40
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Meng Hu - 2014-Sep-12, 01:30:14
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Emil - 2014-Sep-12, 02:26:19
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Duxide - 2014-Sep-12, 22:59:24
RE: [OBG] Genetic and Environmental Determinants of IQ in Black, White, and Hispanic Amer - by Chuck - 2014-Sep-14, 21:11:40
 
Forum Jump:

Users browsing this thread: 1 Guest(s)