2023-04-01ãã1ã¶æéã®è¨äºä¸è¦§
å ã«ä½æããã³ã¼ãã®å¤åçã ides.hatenablog.com ã³ã¼ã # ã©ã¤ãã©ãªã®èªã¿è¾¼ã¿ library(dplyr) # ããã¼ãã¼ã¿ã®ä½æ set.seed(42) dummy_data <- data.frame(matrix(sample(0:2, 1000, replace = TRUE), ncol = 10)) colnames(dummy_data) <- paste0("â¦
æ¬ æ¸¬å¤ã®è£è¶³æ¹æ³ã®ä¸ã¤ããã£ã¦ãããã¨ã¯å¤æ°ã®å¹³åå¤ãåºããæ¬ æå¤ã®ä¸ã«å ¥ãããã¨ããã ãã§ããã å©ç¹ã«ã¤ãã¦ã¯ä»¥ä¸ã®ãããªãã®ãæãããã¦ããã ç°¡åã§ç´æç: å¹³åå¤ä»£å ¥æ³ã¯é常ã«ç°¡åã§ç´æçãªææ³ã§ãããããç解ãããããå®è£ ã容æã§â¦
www.itmedia.co.jp
jp.ign.com
naniarããã±ã¼ã¸ãç¨ããæ¹æ³ library("naniar") Little (1988)ã®æ¤å®çµ±è¨éãç¨ãã¦ããã¼ã¿ãå®å ¨ã«ã©ã³ãã ã«æ¬ è½ãã¦ãããã©ãã(MCAR)ãè©ä¾¡ããããã®æ¤å®ã®å¸°ç¡ä»®èª¬ã¯ããã¼ã¿ãMCARã§ããã¨ãããã®ã§ãæ¤å®çµ±è¨éã¯ã«ã¤äºä¹å¤ã§ããã mcar_test(â¦
KSBç¬æ¸å æµ·æ¾éã®å±±ä¸æ´å¹³ããã®ãèæ¸ãã«ã ã²ã¼ã æ¡ä¾ ãªãã²ã¼ã ãçãããã®ããããç®æ¬ããã ãã¾ããã ãããã¨ããããã¾ãã ã«ã ã²ã¼ã æ¡ä¾;ãªãã²ã¼ã ãçãããã®ã é¦å·ã® #ã²ã¼ã æ¡ä¾ ããã¼ãã«ãããã³ãã£ã¯ã·ã§ã³æ¸ç±ãå·çãã¾ããï¼â¦
ä»åã¯Cramerã®Vã®è¨ç®ã Cramerã®Vã¯åç®å°ºåº¦ä»¥ä¸ã®ãã®ã«é©å¿ã§ããã ä»åã¯2å¤ã®å義尺度ã¨3å¤ã®é åºå°ºåº¦ãä¾ã«ãã¦ããã æ¤å®ã¯ã«ã¤äºä¹æ¤å®ãç¨ãããããããè¤éã§AIã«ãã¹ã¦æ¸ãããã®ã¯ç¡çã ã£ãã Phindãæ¸ããã®ã¯Cramerã®Vã®ã¨ããã ãã ãâ¦
çµ±è¨ã®åéã®äººããªã³ã¼ãã¨å¼ã¶ä½æ¥ãPhindã§å®é¨ãã¦ã¿ãããªã³ã¼ãã¨ããå¼ã³æ¹ã¯æ¹è¨(ã¸ã£ã¼ã´ã³)ã ããã§ãããã°ã©ãã³ã°ã®åéã§ã¯normalizeãcanonicalizeã¨å¼ã¶ããããçµ±è¨ã§normalizeã¨ããã¨æ£è¦åå¸ãç¨ãã¦0ãã1ã¾ã§ã®æ°åã«ãããã¨ãªã©ãæâ¦
Phind(https://www.phind.com/)ãå©ç¨ãã¦ãã¼ã¿ã«å«ã¾ããå¤æ°ã®å ¨çµã¿åããã®ã¯ãã¹éè¨è¡¨åæãå®è¡ããã³ã¼ããæ¸ãã¦ããã£ãã ã¾ããããã¼ãã¼ã¿ãä½æã set.seed(123) df <- data.frame(matrix(sample(0:2, 100, replace = TRUE), nrow = 10)) coâ¦