Recently Published
251125_Final_SEM_Model_PSYM_790_with_Significance_Shown
This model shows both the CFA and the SEM models ran for Liberia and Monrovia. Statistical significance shown in the 2 SEM models. Note the coding of health ~~ educ in the models. This is Dr. Nolla's fix. Also note the comment that 4 of the regions did not work. The 5th one ran, but not well.
251120_Run of DHS Data on Region not Urban/Rural
The data still prevent the code from running properly, but this works better than using urban/rural.
251119_Same_as_Try_5_but_with_Urban
Cannot run group = "urb_rural". Filtered final_df into 2 groups. Run the code on each group. This is the urban run.
Same as Try 5 but with only Rural observations
Tried group = wi_categorical. See comments about variables having no variance. The filtered urban out and ran on rural only. It sort of worked. See error messages.
251118_PSYM_790_SEM_Project_hopefully
Attempt to predict wealth index w/ SEM. I don't think it worked, but the model ran. It would not run if I used group = "urb_rural".
251117_SEM_Project_Try_2_added_Ordered
Added std.lv and ordered for dichotomous variables. SEM model bombed. Couldn't calculate z values and p values. High correlations among some variables. Will remove and try again.
1st_Try_SEM_with_DHS
Done for PSYM 790
251011_non-equivalent_groups_equate
Tried using equate. Results not good. Need better code.
PSYM_750_Kequate_NEAT_Design
Modified code from 9 Oct Class to use my own data. The data files I generated I kept on my HD and read them into R.
KABC!_from_Kline
KABC1 from Chapter 14 in Kline
Document250925_Test_equating
Dr. Amissah's code for equating
241216_q170a_chi_square
test of q170a to see if the distribution of responses is as expected.
241019_Mair's Code_My_Data_Found_Theta_Code
Found line of code that puts theta in the .csv file
241006_1st_Run_eRm_Package_My_Data_PSYM_801
Use Kaggle Retail Salesperson Data for comparison w/ Winsteps
240918_1st_Attempt_Rasch_with_R
Had to remove the 4 person ID columns - position, age, gender, marital_status.
The GoF command did not run. Error in mvrnorm(1, betas, Var.betas) : 'Sigma' is not positive definite. I did this w/ code from https://www.youtube.com/watch?v=C-ulJ6u9EWo Dr. Ngo Cong-Lem
PSYM_570_HW_7July2023
Text Chapter 9
Correlation & Dropping 10 Sep 2022
Exploring R before class assignments
Plot
Fooling w/ Plots 10 Sept 2022
201125_Math217_Last_RLab
See code for filter and subset.
201122_Math217_RLab_Tidyverse
This has code for extracting columns from a larger dataset and pasting the extracted columns in a new dataset. Also note the use of row.names = FALSE. Old code showing simple extraction of columns also in this .Rmd file.
201008_Test1_Prep
Has matrix questions as well.
200922_Redo_Math_217_Lab3
I did this one in html; same result; had to comment out many lines of code, and when I did, I lost tables and bar charts.
200915_Yvonne_Help_w_Reading_Using_CSV
Based on 1st 2 homework assignments in Math 215
200709_DS110_Final_Project
Draft 1
Hate Crimes Tutorial
I did it!!!
200614_Markdown_Assignment_rja_Try_5
This one w/ help from Professor Saidi
200614_2nd_Try_Publishing_Markdown
The 1st time I did the Sunday exercise I did it in the console. There is no knit command in the console (that I know of). So I ran it again in the editor. I knitted both so you can see both.
Plot
First working code in R