David A. Kenny
August 2, 2021

Programs I Have Written

DyadR: twelve shiny apps for dyadic data analysis, one written with Rob Ackerman and another with Lara Stas, Axel Meyer, and Tom Loeys.

RDDD: three shiny apps for data restructuring of dyadic data written with Thomas Ledermann

SRM: Social Relations Model Programs

Other shiny Apps

MedPower (click to run): This app computes power for a simple three-variable (causal variable, variable, and outcome) mediation analysis using the combined power of paths a (the path from the causal variable to the mediator) and b (the path from the mediator to the outcome).

SVPower (click to run): This app conducts a power analysis taking account of the fact of heterogeneity, i.e., that effects vary from study to study.

QBASIC Programs

These are older programs that were written in QBASIC and are reposted.

relcomp (click to download): Reliability Computation -- Uses basic psychometric formulas to determine reliability. Does not input raw data. It computes

Cronbach's alpha from the number of items, the sum of the item variances and variance of the sum of the items.

Alpha from the average inter-item correlation and the number of items (i.e., the Spearman-Brown prophecy formula).

The number of items needed to achieve a given level of reliability given the average inter-item correlation.

Estimate the inter-item correlation from the alpha and the number of items.

A graph showing alpha a function of the number of items given the average inter-item correlation.

rtm (click to download): Regression Towards the Mean: Illustrates key ideas from the Campbell & Kenny book, A Primer on Regression Artifacts, including the Galton Squeeze diagram. The user is asked to roll 1 to 4 dice twice, creating a "pretest" and a "posttest." Shared dice create correlation. The program creates:

The means and standard deviations of the pretest and posttest and their correlation.

A scatterplot.

A Galton Squeeze diagram which more clearly illustrate regression towards the mean than a regression line.

Regression lines.

The means of the posttest for each score on the pretest and the means on the pretest for each score on the posttest.

Histograms for the pretest and posttest.
{"ft_lang_label":"__label__en","ft_lang_prob":0.85557896,"math_prob":0.8329399,"size":2445,"snap":"2022-05-2022-21","text_gpt3_token_len":534,"char_repetition_ratio":0.116755426,"word_repetition_ratio":0.015503876,"special_character_ratio":0.19877301,"punctuation_ratio":0.121145375,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9650097,"pos_list":[0,1,2],"im_url_duplicate_count":[null,2,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-05-28T19:09:11Z\",\"WARC-Record-ID\":\"<urn:uuid:f9e52e40-1983-4f21-8735-e7ff3da39a22>\",\"Content-Length\":\"6925\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:d121d6e6-1384-4d32-97c2-ab06b80939dc>\",\"WARC-Concurrent-To\":\"<urn:uuid:baa164a6-56c6-4527-8e7f-685519378c56>\",\"WARC-IP-Address\":\"216.55.149.9\",\"WARC-Target-URI\":\"https://davidakenny.net/dakprogs.htm\",\"WARC-Payload-Digest\":\"sha1:KEBYPPZWQV4GGJH3AI4BXQNDASCUWMKE\",\"WARC-Block-Digest\":\"sha1:DXDP3SMFV4XSABYMX2TUKAWLDGPBAWGH\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-21/CC-MAIN-2022-21_segments_1652663019783.90_warc_CC-MAIN-20220528185151-20220528215151-00668.warc.gz\"}"}