Skip to Content
실무로 통하는 인과추론 with 파이썬
book

실무로 통하는 인과추론 with 파이썬

by 마테우스 파쿠레, 박지용(감수), 신진수, 가짜연구소 인과추론팀
March 2024
Beginner to intermediate
464 pages
11h 51m
Korean
Hanbit Media, Inc.
Content preview from 실무로 통하는 인과추론 with 파이썬
423
11
장
불응과 도구변수
총액)이 최소
500
달러 이상 증가한다면 이 서비스는 그만한 가치가 있다고 볼 수 있죠. 따라서
은행은 프라임 카드가 고객의 구매금액을 얼마나 늘리는지 알고 싶어 합니다.
해당 은행은
10
,
000
명의 고객을 대상으로 프라임 신용카드(
prime
_
eligible
) 이용 가능 여부
를 무작위로 배정하는 실험을 진행했습니다. 이 과정에서 고객의 절반은 실험군, 나머지 절반
은 대조군으로 배정되었습니다. 하지만 은행이 고객에게 카드를 선택하도록 강요할 수는 없으
므로 이 실험에는 불응이 존재합니다.
이러한 변수를 [그림
11
-
1
]에 적용해보면, 구매금액은
Y
, 프라임 신용카드의 사용 가능 여부
는
Z
, 프라임 카드 보유 여부는
T
가 됩니다. 은행은 고객의 나이, 소득, 신용점수 정보도 가지
고 있지만, 지금은 해당 변수를 고려하지 않겠습니다. 또한 프라임 카드가 구매금액(
pv
)에 미
치는 실제 효과인
τ
(
tau
)와 고객이 속한 그룹(
categ
) 정보도 포함되어 있습니다. 실전에서는
고객이 속한 그룹과
τ
는 실제로 사용할 수 없지만, 여기서는 이해를 돕기 위해 예시로 사용됩
니다 .
In [1]: import pandas as pd
import numpy as np
df = pd.read_csv("./data/prime_card.csv")
df.head() ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

실무로 통하는 ML 문제 해결 with 파이썬

실무로 통하는 ML 문제 해결 with 파이썬

카일 갤러틴, 크리스 알본
잘되는 머신러닝 팀엔 이유가 있다

잘되는 머신러닝 팀엔 이유가 있다

데이비드 탄, 에이다 양, 데이비드 콜스

Publisher Resources

ISBN: 9791169212113