{"id":6604,"date":"2025-05-15T16:33:02","date_gmt":"2025-05-15T07:33:02","guid":{"rendered":"https:\/\/blog.since2020.jp\/?p=6604"},"modified":"2025-05-29T18:23:08","modified_gmt":"2025-05-29T09:23:08","slug":"sem-python","status":"publish","type":"post","link":"https:\/\/since2020.jp\/media\/sem-python\/","title":{"rendered":"\u3010Python\u3067SEM\u3011semopy\u3092\u4f7f\u3063\u305f\u69cb\u9020\u65b9\u7a0b\u5f0f\u30e2\u30c7\u30ea\u30f3\u30b0\u306e\u5b9f\u8df5"},"content":{"rendered":"\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001Python\u30e9\u30a4\u30d6\u30e9\u30ea\u306esemopy\u3092\u7528\u3044\u3066\u69cb\u9020\u65b9\u7a0b\u5f0f\u30e2\u30c7\u30ea\u30f3\u30b0 (SEM) \u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002SEM\u306e\u6982\u8981\u304b\u3089\u3001\u5b9f\u969b\u306e\u6d88\u8cbb\u8005\u8abf\u67fb\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u305fSEM\u306e\u5206\u6790\u4f8b\u3001\u5177\u4f53\u7684\u306aPython\u30b3\u30fc\u30c9\u307e\u3067\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p><span><strong>\u69cb\u9020\u65b9\u7a0b\u5f0f\u30e2\u30c7\u30ea\u30f3\u30b0<\/strong><\/span>\u306f\u3001\u89b3\u6e2c\u5909\u6570\uff08\u5b9f\u969b\u306b\u6e2c\u5b9a\u3067\u304d\u308b\u30c7\u30fc\u30bf\uff09\u3068\u6f5c\u5728\u5909\u6570\uff08\u76f4\u63a5\u306f\u6e2c\u5b9a\u3067\u304d\u306a\u3044\u304c\u3001\u30c7\u30fc\u30bf\u304b\u3089\u63a8\u6e2c\u3067\u304d\u308b\u8981\u7d20\uff09\u3068\u306e\u95a2\u4fc2\u3092\u660e\u3089\u304b\u306b\u3059\u308b\u5f37\u529b\u306a\u7d71\u8a08\u624b\u6cd5\u3067\u3059\u3002<\/p>\r\n<p>\u672c\u30d6\u30ed\u30b0\u8a18\u4e8b\u3067\u306f\u3001\u6d88\u8cbb\u8005\u6e80\u8db3\u5ea6\u3092\u5206\u6790\u3059\u308b\u3068\u3044\u3046\u30c6\u30fc\u30de\u3067\u3001Python\u306esemopy\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066\u69cb\u9020\u65b9\u7a0b\u5f0f\u30e2\u30c7\u30ea\u30f3\u30b0\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\r\n<p><!-- notionvc: 072b9daf-171c-4c1b-9638-8ad1c0431b2f --><\/p>\n\n<h2>\u69cb\u9020\u65b9\u7a0b\u5f0f\u30e2\u30c7\u30ea\u30f3\u30b0\u3068\u306f\uff1f<\/h2>\n<p>\u3053\u3053\u3067\u306f\u3001\u69cb\u9020\u65b9\u7a0b\u5f0f\u30e2\u30c7\u30ea\u30f3\u30b0 (Structural Equation Modeling; SEM) \u304c\u3069\u306e\u3088\u3046\u306a\u624b\u6cd5\u306a\u306e\u304b\u3092\u7c21\u5358\u306b\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\r\n<p><span><strong>SEM\u306f\u3001\u56de\u5e30\u5206\u6790\u3084\u30d1\u30b9\u89e3\u6790\u3001\u56e0\u679c\u5206\u6790\u306a\u3069\u3092\u5305\u542b\u3057\u305f\u7d71\u5408\u7684\u306a\u7d71\u8a08\u30e2\u30c7\u30ea\u30f3\u30b0\u624b\u6cd5<\/strong><\/span>\u3067\u3059\u3002<span><strong>\u8907\u6570\u306e\u8aac\u660e\u5909\u6570\u9593\u306e\u76f8\u95a2\u95a2\u4fc2\u3084\u3001\u76ee\u7684\u5909\u6570\u3078\u306e\u5f71\u97ff\u3092\u7d71\u4e00\u7684\u306b\u63a8\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/strong><\/span>\u5f37\u529b\u306a\u624b\u6cd5\u3067\u3059\u3002<\/p>\r\n<p>SEM\u306e\u5f37\u307f\u306f\u3001<\/p>\r\n<p>\u2460 \u89b3\u6e2c\u5909\u6570\u3060\u3051\u3067\u306a\u304f\u3001<span><strong>\u6f5c\u5728\u5909\u6570<\/strong><\/span>\u3082\u30e2\u30c7\u30eb\u306b\u7d44\u307f\u8fbc\u3081\u308b<\/p>\r\n<p>\u2461 \u8907\u6570\u306e\u76ee\u7684\u5909\u6570\u3092\u6271\u3048\u308b<\/p>\r\n<p>\u306a\u3069\u306e\u70b9\u306b\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5206\u6790\u8005\u304c\u6301\u3064<span><strong>\u30c9\u30e1\u30a4\u30f3\u77e5\u8b58\u3092\u67d4\u8edf\u306b\u30e2\u30c7\u30eb\u3067\u8868\u73fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059<\/strong><\/span>\u3002<\/p>\r\n<p>SEM\u3067\u306f\u30d1\u30e9\u30e1\u30fc\u30bf\uff08\u5909\u6570\u9593\u306e\u95a2\u4fc2\u306e\u5927\u304d\u3055\uff09\u3092\u5171\u5206\u6563\u884c\u5217\u3092\u7528\u3044\u3066\u63a8\u5b9a\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u305f\u3081\u3001<span><strong>\u5171\u5206\u6563\u69cb\u9020\u5206\u6790<\/strong><\/span>\u3068\u547c\u3070\u308c\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\r\n<p><!-- notionvc: 67e9b4d7-2c9f-4d47-9a41-e2c161027000 --><\/p>\n\n<h2>Python\u3067SEM\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306esemopy\u30e9\u30a4\u30d6\u30e9\u30ea<\/h2>\n<p>\u69cb\u9020\u65b9\u7a0b\u5f0f\u30e2\u30c7\u30ea\u30f3\u30b0 (SEM) \u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u30c4\u30fc\u30eb\u3068\u3057\u3066\u8fd1\u5e74\u30e1\u30b8\u30e3\u30fc\u306a\u306e\u306f\u3001R\u8a00\u8a9e\u306elavaan\u30e9\u30a4\u30d6\u30e9\u30ea\u3060\u3068\u601d\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001Python\u3067SEM\u3092\u5b9f\u884c\u3057\u305f\u3044\u3068\u3044\u3046\u30e6\u30fc\u30b6\u30fc\u3082\u5c11\u306a\u304f\u306a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\r\n<p>\u305d\u3093\u306a\u8981\u6c42\u306b\u5fdc\u3048\u308b\u306e\u304c<span>semopy<\/span>\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<\/p>\r\n<p>[blogcard url=&#8221;https:\/\/semopy.com\/&#8221;]<\/p>\r\n<p>lavaan\u306e\u7279\u5fb4\u3067\u3042\u308b\u76f4\u611f\u7684\u306a\u30e2\u30c7\u30eb\u8868\u73fe\u3092\u305d\u306e\u307e\u307e\u306b\u3001Python\u3067\u5b9f\u884c\u3067\u304d\u308b\u70b9\u304csemopy\u306e\u826f\u3055\u3067\u3059\u3002\u30e2\u30c7\u30eb\u306e\u8a18\u8ff0\u65b9\u6cd5\u304c\u30b7\u30f3\u30d7\u30eb\u3067\u7406\u89e3\u3057\u3084\u3059\u304f\u3001Python\u306e\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u5185\u3067\u30c7\u30fc\u30bf\u5206\u6790\u3092\u5b8c\u7d50\u3055\u305b\u305f\u3044\u65b9\u306b\u6700\u9069\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u8a00\u3048\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n\n<h2>\u6d88\u8cbb\u8005\u8abf\u67fb\u30c7\u30fc\u30bf\u3092\u7528\u3044\u305fSEM\u306e\u5b9f\u8df5<\/h2>\n<b>4-1. \u30c7\u30fc\u30bf\u30bb\u30c3\u30c8<\/b>\r\n<p>\u4eca\u56de\u306f\u3001American Customer Satisfaction Index (ACSI) \u306b\u3088\u3063\u3066\u53ce\u96c6\u3055\u308c\u305f\u6d88\u8cbb\u8005\u8abf\u67fb\u30c7\u30fc\u30bf\u3092\u7528\u3044\u307e\u3059\u3002ACSI\u306f\u3001\u7c73\u56fd\u306e\u6d88\u8cbb\u8005\u306e\u4f01\u696d\u306b\u5bfe\u3059\u308b\u6e80\u8db3\u5ea6\u3092\u6e2c\u5b9a\u3059\u308b\u305f\u3081\u306b\u3001\u5e74\u9593\u7d0440\u4e07\u4eba\u306e\u6d88\u8cbb\u8005\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53ce\u96c6\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n<p>[blogcard url=&#8221;https:\/\/data.mendeley.com\/datasets\/64xkbj2ry5\/2&#8243;]<\/p>\r\n<ul style=\"list-style-type: circle\">\r\n\t<li><span><strong>\u30b5\u30f3\u30d7\u30eb\u30b5\u30a4\u30ba<\/strong><\/span>\uff1a8,239\u4eba\u306e\u6d88\u8cbb\u8005<\/li>\r\n\t<li><span><strong>\u5bfe\u8c61\u306e\u696d\u754c<\/strong><\/span>\uff1a\u52a0\u5de5\u98df\u54c1\u3001\u822a\u7a7a\u4f1a\u793e\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30b5\u30fc\u30d3\u30b9\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u3001\u9280\u884c<\/li>\r\n\t<li><span><strong>\u30c7\u30fc\u30bf\u53ce\u96c6\u65b9\u6cd5<\/strong><\/span>\uff1a\u30aa\u30f3\u30e9\u30a4\u30f3\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u3068\u5c64\u5225\u30a4\u30f3\u30bf\u30d3\u30e5\u30fc<\/li>\r\n<\/ul>\r\n<hr \/>\r\n<p><!-- notionvc: d2ef70e5-30e8-4316-93d5-e5cec17a047c --><\/p>\r\n<b>4-2. \u5206\u6790\u306e\u76ee\u7684\u30fb\u7528\u3044\u308b\u5909\u6570<\/b>\r\n<p>\u6d88\u8cbb\u8005\u306e\u671f\u5f85\u304c\u30b5\u30fc\u30d3\u30b9\u306e\u54c1\u8cea\u8a55\u4fa1\u3084\u4fa1\u5024\u8a55\u4fa1\u3001\u305d\u3057\u3066\u6700\u7d42\u7684\u306a\u6e80\u8db3\u5ea6\u306b\u3069\u306e\u3088\u3046\u306b\u5f71\u97ff\u3057\u3001\u305d\u308c\u3089\u304c\u518d\u8cfc\u5165\u610f\u5411\u306b\u3064\u306a\u304c\u308b\u304b\u3092SEM\u3092\u7528\u3044\u3066\u660e\u3089\u304b\u306b\u3057\u307e\u3059\u3002<\/p>\r\n<p>\u5177\u4f53\u7684\u306b\u306f\u3001\u4ee5\u4e0b\u306e<span><strong>5\u3064\u306e\u6f5c\u5728\u5909\u6570<\/strong><\/span>\u3068\u3001\u95a2\u9023\u3059\u308b\u89b3\u6e2c\u5909\u6570\u3092\u7528\u3044\u3066\u30e2\u30c7\u30eb\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/p>\r\n<b>a. <span data-token-index=\"0\" class=\"notion-enable-hover\">\u9867\u5ba2\u306e\u671f\u5f85 (Customer Expectations)<\/span><!-- notionvc: 4c7e8b5f-2b79-4f51-9463-e3297a0c29db --><!-- notionvc: d8bf911d-382f-4550-a49b-6c6012c2feb2 --><\/b>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_expect.png\" alt=\"\" width=\"1400\" height=\"232\" class=\"aligncenter size-full wp-image-6617\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_expect.png 1400w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_expect-300x50.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_expect-1024x170.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_expect-768x127.png 768w\" sizes=\"(max-width: 1400px) 100vw, 1400px\" \/><\/p>\r\n<b>b. <span data-token-index=\"0\" class=\"notion-enable-hover\">\u77e5\u899a\u3055\u308c\u305f\u54c1\u8cea (Perceived Quality)<\/span><!-- notionvc: d7d7f9d6-302b-4593-8355-80c00d51b406 --><\/b>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_quali.png\" alt=\"\" width=\"1408\" height=\"232\" class=\"aligncenter size-full wp-image-6619\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_quali.png 1408w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_quali-300x49.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_quali-1024x169.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_quali-768x127.png 768w\" sizes=\"(max-width: 1408px) 100vw, 1408px\" \/><\/p>\r\n<b>c. <span data-token-index=\"0\" class=\"notion-enable-hover\">\u77e5\u899a\u3055\u308c\u305f\u4fa1\u5024 (Perceived Value)<\/span><!-- notionvc: 35601ebd-58b0-4576-8552-522e2582ddf0 --><\/b>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_val.png\" alt=\"\" width=\"1409\" height=\"295\" class=\"aligncenter size-full wp-image-6620\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_val.png 1409w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_val-300x63.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_val-1024x214.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_val-768x161.png 768w\" sizes=\"(max-width: 1409px) 100vw, 1409px\" \/><\/p>\r\n<b>d. <span data-token-index=\"0\" class=\"notion-enable-hover\">\u9867\u5ba2\u6e80\u8db3\u5ea6 (Customer Satisfaction)<\/span><!-- notionvc: d4d49cd5-3191-41c4-908a-d5476876bece --><\/b>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_satis.png\" alt=\"\" width=\"1405\" height=\"313\" class=\"aligncenter size-full wp-image-6616\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_satis.png 1405w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_satis-300x67.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_satis-1024x228.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_satis-768x171.png 768w\" sizes=\"(max-width: 1405px) 100vw, 1405px\" \/><\/p>\r\n<b>e. <span data-token-index=\"0\" class=\"notion-enable-hover\">\u9867\u5ba2\u30ed\u30a4\u30e4\u30eb\u30c6\u30a3 (Customer Loyalty)<\/span><!-- notionvc: 3445a92a-6382-4645-b91b-7bfd76e1b258 --><\/b>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_loyal.png\" alt=\"\" width=\"1399\" height=\"151\" class=\"aligncenter size-full wp-image-6618\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_loyal.png 1399w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_loyal-300x32.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_loyal-1024x111.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_loyal-768x83.png 768w\" sizes=\"(max-width: 1399px) 100vw, 1399px\" \/><\/p>\r\n<p>\u6b21\u306b\u3001\u3053\u308c\u3089\u306e\u5909\u6570\u306e\u9593\u306b\u3069\u306e\u3088\u3046\u306a\u95a2\u4fc2\u3092\u4eee\u5b9a\u3059\u308b\u306e\u304b\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\r\n<hr \/>\r\n<b>4-3. \u30e2\u30c7\u30eb\u69cb\u9020\u306e\u6c7a\u5b9a<\/b>\r\n<b><span style=\"text-decoration: underline\">\u30d1\u30b9\u56f3<\/span><\/b>\r\n<p>\u4eca\u56de\u306f\u3001\u4e0b\u56f3\u306e\u3088\u3046\u306a\u5909\u6570\u9593\u306e\u95a2\u4fc2\u3092\u4eee\u5b9a\u3057\u307e\u3059\u3002<!-- notionvc: b4a330a5-7e06-4e18-81d1-e82f8ca8a767 --><\/p>\r\n<b><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_path_pre.png\" alt=\"\" width=\"1224\" height=\"839\" class=\"img-border aligncenter wp-image-6611 size-full\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_path_pre.png 1224w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_path_pre-300x206.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_path_pre-1024x702.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_path_pre-768x526.png 768w\" sizes=\"(max-width: 1224px) 100vw, 1224px\" \/><\/b>\r\n<b><span style=\"text-decoration: underline\">\u6e2c\u5b9a\u65b9\u7a0b\u5f0f<\/span><\/b>\r\n<p>\u6e2c\u5b9a\u65b9\u7a0b\u5f0f\u3067\u306f\u3001\u6f5c\u5728\u5909\u6570\u3068\u305d\u308c\u3092\u6e2c\u5b9a\u3059\u308b\u89b3\u6e2c\u5909\u6570\uff08\u8cea\u554f\u9805\u76ee\uff09\u306e\u95a2\u4fc2\u3092\u8868\u73fe\u3057\u307e\u3059\u3002 \u4f8b\u3048\u3070\u3001\u9867\u5ba2\u306e\u671f\u5f85\uff08Expectations\uff09\u306f <code>OVERALLX<\/code>, <code>CUSTOMX<\/code>, <code>WRONGX<\/code> \u306e3\u3064\u306e\u89b3\u6e2c\u5909\u6570\u3067\u6e2c\u5b9a\u3055\u308c\u307e\u3059\u3002<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code># \u6e2c\u5b9a\u65b9\u7a0b\u5f0f\r\nExpectations =~ OVERALLX + CUSTOMX\r\nQuality =~ OVERALLQ + CUSTOMQ\r\nValue =~ PQ + QP\r\nSatisfaction =~ SATIS + CONFIRM + IDEAL\r\nLoyalty =~ REPUR<\/code><\/pre>\r\n<\/div>\r\n<b><\/b>\r\n<b><span style=\"text-decoration: underline\">\u69cb\u9020\u65b9\u7a0b\u5f0f<\/span><\/b>\r\n<p>\u69cb\u9020\u65b9\u7a0b\u5f0f\u3067\u306f\u3001\u6f5c\u5728\u5909\u6570\u540c\u58eb\u306e\u56e0\u679c\u95a2\u4fc2\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\r\n<p><!-- notionvc: cff61629-1a2d-41a6-91ed-42e4c8ba49ae --><\/p>\r\n<p><!-- notionvc: 3f417274-2016-4172-85d7-5fe6acf64518 --><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code># \u69cb\u9020\u65b9\u7a0b\u5f0f\r\nQuality ~ Expectations\r\nValue ~ Expectations + Quality\r\nSatisfaction ~ Expectations + Quality + Value\r\nLoyalty ~ Satisfaction<\/code><\/pre>\r\n<\/div>\r\n<p>\u3053\u306e\u69cb\u9020\u65b9\u7a0b\u5f0f\u306fACSI\u306e\u7406\u8ad6\u7684\u67a0\u7d44\u307f\u306b\u57fa\u3065\u3044\u3066\u304a\u308a\u3001<\/p>\r\n<p style=\"text-align: center\"><span><strong>\u9867\u5ba2\u306e\u671f\u5f85\u2192\u77e5\u899a\u3055\u308c\u305f\u54c1\u8cea\u2192\u77e5\u899a\u3055\u308c\u305f\u4fa1\u5024\u2192\u9867\u5ba2\u6e80\u8db3\u5ea6\u2192\u518d\u8cfc\u5165\u610f\u5411<\/strong><\/span><\/p>\r\n<p>\u3068\u3044\u3046\u56e0\u679c\u306e\u6d41\u308c\u3092\u4eee\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n<hr \/>\r\n<b>4-4. \u5206\u6790\u7d50\u679c<\/b>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_path_post.jpg\" alt=\"\" width=\"1793\" height=\"832\" class=\"img-border aligncenter wp-image-6610 size-full\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_path_post.jpg 1793w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_path_post-300x139.jpg 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_path_post-1024x475.jpg 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_path_post-768x356.jpg 768w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2025\/05\/sem_path_post-1536x713.jpg 1536w\" sizes=\"(max-width: 1793px) 100vw, 1793px\" \/><\/p>\r\n<p>\u4eca\u56de\u306e\u5206\u6790\u3067\u306f\u3001\u300c&#8221;\u9867\u5ba2\u306e\u671f\u5f85&#8221;\u304b\u3089&#8221;\u77e5\u899a\u3055\u308c\u305f\u54c1\u8cea&#8221;\u3078\u306e\u30d1\u30b9\u300d\uff081.825, p&lt;.001\uff09\u3068\u300c&#8221;\u9867\u5ba2\u6e80\u8db3\u5ea6&#8221;\u304b\u3089&#8221;\u9867\u5ba2\u30ed\u30a4\u30e4\u30eb\u30c6\u30a3&#8221;\u3078\u306e\u30d1\u30b9\u300d\uff080.524, p=.01\uff09\u304c\u7d71\u8a08\u7684\u306b\u6709\u610f\u3067\u3042\u308b\u3053\u3068\u304c\u793a\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u3001\u9867\u5ba2\u304c\u88fd\u54c1\u3084\u30b5\u30fc\u30d3\u30b9\u306b\u5bfe\u3057\u3066\u9ad8\u3044\u671f\u5f85\u3092\u6301\u3064\u307b\u3069\u54c1\u8cea\u3092\u9ad8\u304f\u8a55\u4fa1\u3059\u308b\u50be\u5411\u304c\u3042\u308b\u3053\u3068\u3001\u305d\u3057\u3066\u6e80\u8db3\u3057\u305f\u9867\u5ba2\u307b\u3069\u518d\u8cfc\u5165\u3059\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\r\n<p>\u4e00\u65b9\u3067\u3001\u300c&#8221;\u9867\u5ba2\u306e\u671f\u5f85&#8221;\u2192&#8221;\u77e5\u899a\u3055\u308c\u305f\u4fa1\u5024&#8221;\u300d\u300c&#8221;\u77e5\u899a\u3055\u308c\u305f\u54c1\u8cea&#8221;\u2192&#8221;\u77e5\u899a\u3055\u308c\u305f\u4fa1\u5024&#8221;\u300d\u300c&#8221;\u9867\u5ba2\u306e\u671f\u5f85&#8221;\u2192&#8221;\u9867\u5ba2\u6e80\u8db3\u5ea6&#8221;\u300d\u300c&#8221;\u77e5\u899a\u3055\u308c\u305f\u54c1\u8cea&#8221;\u2192&#8221;\u9867\u5ba2\u6e80\u8db3\u5ea6&#8221;\u300d\u300c&#8221;\u77e5\u899a\u3055\u308c\u305f\u4fa1\u5024&#8221;\u2192&#8221;\u9867\u5ba2\u6e80\u8db3\u5ea6&#8221;\u300d\u306e\u30d1\u30b9\u306f\u3044\u305a\u308c\u3082\u7d71\u8a08\u7684\u306b\u6709\u610f\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3053\u306e\u7d50\u679c\u306f\u3001\u5f93\u6765\u306eACSI\u30e2\u30c7\u30eb\u3067\u60f3\u5b9a\u3055\u308c\u3066\u3044\u305f\u95a2\u4fc2\u6027\u306e\u4e00\u90e8\u304c\u3001\u4eca\u56de\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3067\u306f\u652f\u6301\u3055\u308c\u306a\u304b\u3063\u305f\u3068\u3044\u3046\u5206\u6790\u306e\u8ab2\u984c\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n<p><!-- notionvc: 125a42fe-837f-4fde-b35f-3a265a5141c7 --><\/p>\r\n<p><!-- notionvc: f522324e-4e9b-41cd-9ae5-ecc758dffdeb --><\/p>\r\n<p><!-- notionvc: 122b9975-0917-4f26-9bec-b3b432ac9588 --><\/p>\n\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>\u672c\u30d6\u30ed\u30b0\u8a18\u4e8b\u3067\u306f\u3001\u69cb\u9020\u65b9\u7a0b\u5f0f\u30e2\u30c7\u30ea\u30f3\u30b0 (SEM) \u306b\u3064\u3044\u3066\u7c21\u5358\u306b\u8aac\u660e\u3057\u3001ACSI\u306b\u3088\u308b\u6d88\u8cbb\u8005\u8abf\u67fb\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066SEM\u3092\u9069\u7528\u3059\u308b\u5206\u6790\u306e\u6d41\u308c\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\r\n<p>\u5206\u6790\u306e\u7d50\u679c\u3001\u300c\u6e80\u8db3\u5ea6\u304c\u30ed\u30a4\u30e4\u30eb\u30c6\u30a3\u3092\u9ad8\u3081\u308b\u300d\u3068\u3044\u3046\u70b9\u304c\u7d71\u8a08\u7684\u306b\u652f\u6301\u3055\u308c\u3001\u4f01\u696d\u304c\u9867\u5ba2\u6e80\u8db3\u5ea6\u3092\u91cd\u8996\u3059\u3079\u304d\u7406\u7531\u304c\u88cf\u4ed8\u3051\u3089\u308c\u307e\u3057\u305f\u3002\u6e80\u8db3\u3057\u305f\u9867\u5ba2\u306f\u518d\u8cfc\u5165\u3059\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u304f\u3001\u30d3\u30b8\u30cd\u30b9\u306e\u6301\u7d9a\u7684\u6210\u9577\u306b\u8ca2\u732e\u3059\u308b\u3053\u3068\u304c\u793a\u5506\u3055\u308c\u307e\u3059\u3002<\/p>\r\n<p>\u4e00\u65b9\u3067\u3001\u9867\u5ba2\u306e\u671f\u5f85\u30fb\u77e5\u899a\u3055\u308c\u305f\u54c1\u8cea\u30fb\u77e5\u899a\u3055\u308c\u305f\u4fa1\u5024\u304b\u3089\u9867\u5ba2\u6e80\u8db3\u5ea6\u3078\u306e\u30d1\u30b9\u304c\u6709\u610f\u3067\u306a\u304b\u3063\u305f\u70b9\u306f\u3001\u60f3\u5b9a\u3055\u308c\u3066\u3044\u308b\u9867\u5ba2\u6e80\u8db3\u5ea6\u306e\u5f62\u6210\u30e1\u30ab\u30cb\u30ba\u30e0\u304c\u4eca\u56de\u306e\u69cb\u9020\u65b9\u7a0b\u5f0f\u30e2\u30c7\u30ea\u30f3\u30b0\u3067\u8868\u73fe\u3067\u304d\u3066\u3044\u306a\u3044\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u696d\u754c\u5225\u306e\u5206\u6790\u3084\u30e2\u30c7\u30eb\u306e\u4fee\u6b63\u3001\u3042\u308b\u3044\u306f\u8ffd\u52a0\u5909\u6570\u306e\u691c\u8a0e\u3092\u884c\u3046\u3053\u3068\u3067\u3001\u3088\u308a\u7cbe\u7dfb\u306a\u7d50\u679c\u3092\u5f97\u3089\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\r\n<p>\u306a\u304a\u3001\u672b\u5c3e\u306e\u4ed8\u9332\u306bsemopy\u3092\u7528\u3044\u3066SEM\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u304c\u3042\u308b\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n<h2>\u53c2\u8003<\/h2>\n<p>\u300e\u7814\u7a76\u306b\u5f79\u7acb\u3064 JASP\u306b\u3088\u308b\u591a\u5909\u91cf\u89e3\u6790 <span data-token-index=\"1\" class=\"notion-enable-hover\">&#8211;\u00a0<\/span>\u56e0\u5b50\u5206\u6790\u304b\u3089\u69cb\u9020\u65b9\u7a0b\u5f0f\u30e2\u30c7\u30ea\u30f3\u30b0\u307e\u3067<span data-token-index=\"3\" class=\"notion-enable-hover\">\u00a0&#8211;<\/span>\u300f<\/p>\r\n<p>[blogcard url=&#8221;https:\/\/www.coronasha.co.jp\/np\/isbn\/9784339029161\/&#8221;]<\/p>\r\n<p><!-- notionvc: 10a997b5-ea02-44c4-aa84-c4d546a5e89e --><\/p>\r\n<p>&nbsp;<\/p>\r\n<p>semopy\u30e9\u30a4\u30d6\u30e9\u30ea<\/p>\r\n<p>[blogcard url=&#8221;https:\/\/semopy.com\/&#8221;]<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>The American Customer Satisfaction Index (ACSI): A Sample Dataset and Description<\/p>\r\n<p>[blogcard url=&#8221;https:\/\/data.mendeley.com\/datasets\/64xkbj2ry5\/2&#8243;]<\/p>\n\n<h2>\u4ed8\u9332 : semopy\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h2>\n<p>\u5b9f\u884c\u74b0\u5883\u306fPython 3.11.9\u3067\u3001semopy\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f2.3.11\u3067\u3059\u3002<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code># \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\r\nimport pandas as pd\r\nimport semopy as sem\r\nfrom semopy import Model\r\n\r\n# \u30c7\u30fc\u30bf\u306e\u8aad\u307f\u8fbc\u307f\r\ndf = pd.read_csv(\"your_path\\your_data.csv\") # csv\u3092\u8aad\u307f\u8fbc\u3080\u4f8b\r\n\r\n###############################\r\n# \u5fc5\u8981\u306b\u5fdc\u3058\u3066\u30c7\u30fc\u30bf\u306e\u524d\u51e6\u7406\u3092\u3059\u308b\r\n###############################\r\n\r\n# SEM\u306e\u8a18\u8ff0\r\nmodel_desc = \"\"\"\r\n# \u6e2c\u5b9a\u65b9\u7a0b\u5f0f\r\nExpectations =~ OVERALLX + CUSTOMX\r\nQuality =~ OVERALLQ + CUSTOMQ\r\nValue =~ PQ + QP\r\nSatisfaction =~ SATIS + CONFIRM + IDEAL\r\nLoyalty =~ REPUR\r\n\r\n# \u69cb\u9020\u65b9\u7a0b\u5f0f\r\nQuality ~ Expectations\r\nValue ~ Expectations + Quality\r\nSatisfaction ~ Expectations + Quality + Value\r\nLoyalty ~ Satisfaction\r\n\"\"\"\r\n\r\n# \u30e2\u30c7\u30eb\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u63a8\u5b9a\r\nmodel = Model(model_desc)\r\nresult = model.fit(data)\r\n\r\nprint(result)\r\n\r\n# \u30d1\u30b9\u56f3\u306e\u63cf\u753b\r\n# \u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u306e\u5834\u5408\u306f\u3042\u3089\u304b\u3058\u3081Graphviz\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\r\n\r\ntry:\r\n    path_graph = sem.semplot(model, \"sem_path_diagram.png\")\r\nexcept Exception as e:\r\n    import os\r\n    # Graphviz\u306e\u30d1\u30b9\u3092\u74b0\u5883\u5909\u6570PATH\u306b\u8ffd\u52a0\uff08\u4f8b: Windows\u306e\u6a19\u6e96\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\uff09\r\n    os.environ[\"PATH\"] += os.pathsep + r\"C:\\Program Files\\Graphviz\\bin\"\r\n    # \u30d1\u30b9\u3092\u4fee\u6b63\u5f8c\u3001\u518d\u5ea6\u30d1\u30b9\u56f3\u3092\u751f\u6210\r\n    path_graph = sem.semplot(model, \"sem_path_diagram.png\")\r\n\r\npath_graph<\/code><\/pre>\r\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001Python\u30e9\u30a4\u30d6\u30e9\u30ea\u306esemopy\u3092\u7528\u3044\u3066\u69cb\u9020\u65b9\u7a0b\u5f0f\u30e2\u30c7\u30ea\u30f3\u30b0 (SEM) \u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002SEM\u306e\u6982\u8981\u304b\u3089\u3001\u5b9f\u969b\u306e\u6d88\u8cbb\u8005\u8abf\u67fb\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u305fSEM\u306e\u5206\u6790\u4f8b\u3001\u5177\u4f53\u7684\u306aPython\u30b3\u30fc\u30c9\u307e\u3067\u7d39\u4ecb\u3057\u307e [&hellip;]<\/p>\n","protected":false},"author":46,"featured_media":6622,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","swell_btn_cv_data":"","footnotes":"","_wp_rev_ctl_limit":""},"categories":[1246],"tags":[331,484,39],"class_list":["post-6604","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-infrastructure","tag-python","tag-484","tag-39"],"_links":{"self":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/6604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/users\/46"}],"replies":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/comments?post=6604"}],"version-history":[{"count":0,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/6604\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media\/6622"}],"wp:attachment":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media?parent=6604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/categories?post=6604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/tags?post=6604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}