You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@shiG3L, Here is an example using a trimmed dataset as an excel file. Does this help?
importpandasaspdfromgirthimportgrm_mml# Read data into pandas dataframeurl='https://girth-examples.s3.us-south.cloud-object-storage.appdomain.cloud/subset_trim_example.xlsx'dataset=pd.read_excel(url)
# Girth expects numpy arrays, convert and transposenp_dataset=dataset.to_numpy().T# Exclude the case numbernp_final=np_dataset[1:, :]
# Run the irtresults=grm_mml(np_final.astype('int'))
print(results['Discrimination'])
I'm sorry that. Could author give us several examples about how to use this package? Thanks very much
The text was updated successfully, but these errors were encountered: