Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

TaridWong/CTTvis

Repository files navigation

License: GPL-3Project Status: Active - The project has reached a stable, usable state and is being actively developed.CRAN checks

Tarid Wongvorachan

A hexagon logo with writing CTTvis

Installation

Install R/CTTvis from Github using the devtools package

devtools::install_github("TaridWong/CTTvis")

Or get the released version from CRAN

install.packages("CTTvis")

Example use

library(CTTvis)

To demonstrate thedifficulty_plot andpoint_biserial_plot functions, we will first load a built-in dataset calleddichotomous_response.

In some context, item difficulty flag thresholds may change. This can be adjusted using theeasyFlag andhardFlag arguments.The following use the easy flag threshold of .8, meaning that items that gets answered correctly 80% of the total test takers or greater are considered easy.On the other hand, items that gets answered correctly 60% of the total test takers or less are considered difficult.

data(dichotomous_response)difficulty_plot(responses=dichotomous_response,title="Item Difficulty Plot",easyFlag=.80,hardFlag=.60)

For thepoint_biserial_plot function, you could adjust your point-biserial correlation (pBis) threshold as well.For example, if you want the pBis threshold to be .3, you could configure thepBis_threshold as follows:

point_biserial_plot(responses=dichotomous_response,title="Item Discrimination Plot",pBis_threshold=0.30)

To demonstrate thecoefficient_alpha_plot function, we need to load another built-in dataset calledreliability_df.This dataset was simulated to test the capability of this function.

The influence of an item when dropped to the overall unidimensional coefficient alpha could vary, hence the option to configure the rounding of overall coefficient alpha.For example, if dropping an item increases the overall coefficient alpha by 0.001, then rounding the alpha by three decimal places could allow researchers to see the increase compared to rounding the alpha by two decimal points.

The following demonstration rounds the overall alpha by four decimal points. This argument can be adjusted based on the researchers' needs.

data(reliability_df)coefficient_alpha_plot(responses=reliability_df,title="Coefficient Alpha Plot",alpha_round=4)

Licenses

The R/CTTvis package as a whole is distributed underGPL-3 (GNU General Public License version 3).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp