$P$ and $S$ are the common cause of $c$. If $P(C=true| P,S )$ is given as the table below, and $P(S=true) =0.3$, $P(P=true) =0.9$ how can I eliminate $S$ and calculate $P(C=true | P=true )$ and $P(C= false| P=true)$ ? Many thanks for your help.
$P(C=true | P,S)$:
+p +s +c 0.05
+p -s +c 0.02
-p +s +c 0.03
-p -s +c 0.001