Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
TokyoR#76 lavaanのモデルからキレイなパス図を描く関数
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
bob3bob3
January 12, 2022
Programming
0
460
TokyoR#76 lavaanのモデルからキレイなパス図を描く関数
lavaanのモデルからキレイなパス図を描く関数。
2019年3月。
bob3bob3
January 12, 2022
Tweet
Share
More Decks by bob3bob3
See All by bob3bob3
RとLLMで自然言語処理
bob3bob3
3
800
RでPSM分析
bob3bob3
1
410
Rでコンジョイント分析 2024年版
bob3bob3
0
2.1k
『改訂新版前処理大全』の話と Apache Parquet の話 #TokyoR
bob3bob3
0
1.3k
R言語の環境構築と基礎 Tokyo.R 112
bob3bob3
0
630
『データ可視化学入門』をPythonからRに翻訳した話(増強版)
bob3bob3
0
560
『データ可視化学入門』を PythonからRに翻訳した話
bob3bob3
1
630
qeMLパッケージの紹介
bob3bob3
0
2.3k
「国と音楽」 ~spotifyrを用いて~ #muana
bob3bob3
2
630
Other Decks in Programming
See All in Programming
生成AIを活用したソフトウェア開発ライフサイクル変革の現在値
hiroyukimori
PRO
0
110
CSC307 Lecture 07
javiergs
PRO
1
560
Data-Centric Kaggle
isax1015
2
780
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
280
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
180
MUSUBIXとは
nahisaho
0
140
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.4k
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
660
SourceGeneratorのススメ
htkym
0
200
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
180
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1.1k
Featured
See All Featured
Side Projects
sachag
455
43k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
290
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
160
Practical Orchestrator
shlominoach
191
11k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
A better future with KSS
kneath
240
18k
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Transcript
lavaanのモデルから キレイなパス図を描く関数 @bob3bob3 Tokyo.R #76
bob3bob3 Twitter r-wakalang.slack.com
第1回Tokyo.R(2010年1月27日)
みんな大好き構造方程式モデリング • 構造方程式モデリング – Structural Equation Modeling (SEM). – 共分散構造分析
• Wikipediaによると – 共分散構造分析とは、複数の構成概念間の関係を検討する ことができる統計的手法の1つで構造方程式モデリング手 法では共分散を使っている特別なクラスである。一方では 分散構造分析も存在する。内生変数を扱いながら関係を調 べることができる、すなわち因子分析と重回帰分析を同時 に行うことができるのが特徴。
構造方程式モデリングのツール • 商用ソフト – AMOS(SPSS) – Mplus • R –
sem • Rcmdrで有名な John Fox 先生の手によるもの。 – lavaan • モデルの記述が楽。 • http://lavaan.ugent.be/
パス図 From Wikipedia.
semPlot::semPaths
自作関数 lavaan の出力を DOT 言語に変換し、 DiagrammeR パッケージ経由で Graphviz で描画。
コード http://bob3.hatenablog.com/entry/2019/02/26 /183541 「はてなブログ bob3」でググれば出てきます。