How to check whether the missing data is MCAR, MAR, or MNAR? I read few responses close to the question and was suggested in using t-test or chi-sq test. However, the pattern between variables can also involve more than 2 variables (e.g. data at x tend to be missing when data at y and z equals to &quot;yes&quot;). Is there any comprehensive package in Python/R to check the type of missingness in a tabular dataset?
How to decide whether missing values are MAR, MCAR, or MNAR I have a large proteomics dataset. In the rows I have the proteins , and in the rows I have the samples.The dataset contains a lot of missing values.  I would like to know I can find out whether missing values are MAR, MCAR, or MNAR, and how I can decide the best imputation technique. Kind regards.
How to stop kernel messages from flooding my console? I'm using Centos 6, rsyslog logging. Console is flooded with kernel messages.  Klogd is not running (I'm using rsyslog) Rsyslog config does not direct anything to the console Even tried stopping rsyslog altogether  Still something is flooding my console with kernel log messages. What it is and how do I make it stop? Update: These are the messages generated by the kernel (hardware, iptables, etc.), stuff that goes out of /proc/kmsg, like this:  Shorewall:pub2loc:DROP:IN=br0 OUT= MAC=xxx SRC=xxx DST=xxx LEN=60 TOS=0x00 PREC=0x00 TTL=128 ID=15731 DF PROTO=TCP SPT=63767 DPT=3493 WINDOW=8192 RES=0x00 SYN URGP=0 Why are there non-visible objects in my final render? In C, what is the difference between using ++i and i++, and which should be used in the incrementation block of a for loop? Where to ask Question that can be flagged too broad or opinion based Convert HTML entities to Unicode and vice versa Replace \input{fileX} by the content of fileX automatically I'm officially breaking up with Salesforce Date parsing. This has got to be the most frustrating thing.  I have the following date in a JSON string (full JSON below):     2017-06-03T10:34:24.000Z   But when I try to deserialize the data:  Opportunity[] results = (List&lt;Opportunity&gt;)JSON.deserialize(res, List&lt;Opportunity&gt;.class);   I get the following error:     System.JSONException: Cannot deserialize instance of date from VALUE_STRING value 2016-12-05T16:19:44.000Z   I have looked at so many date parse issues before and from what I've gathered  it must be in ISO 8601 - though ISO 8601 can take various shapes:   All of the following seem to recommend exactly what I've done          How should I format this date string?  Thank you!  Full JSON string:  [{   "name":"OpportunityABC",   "CloseDate":"2017-06-03T10:34:24.000Z",   "StageName":"Pre-Engagement",   "Amount":"4810308.0", }] Setuid bit seems to have no effect on bash Help with math symbols in BibTeX Prove that $|f''(\xi)|\geqslant\frac{4|f(a)-f(b)|}{(b-a)^2}$ Let ${\rm f}:\left[a, b\right]\to\mathbb{R}$ be twice differentiable, and suppose   $$\lim_{x\to a^{+}} \frac{{\rm f}\left(x\right) - {\rm f}\left(a\right)}{x - a} = \lim_{x\to b^{-}}\frac{{\rm f}\left(x\right) - {\rm f}\left(b\right)}{x - b} =0 $$  Show that there exists $\xi \in \left(a, b\right)$ such that $\displaystyle{% \left\vert\vphantom{\Large A}\,{\rm f}''\left(\xi\right)\right\vert \geq \frac{4\left\vert\vphantom{\Large A}% \,{\rm f}\left(a\right) - {\rm f}\left(b\right)\right\vert} {\left(b - a\right)^{2}}}$.  I don't know how to start. Any hints ?. Let $E$ be measurable and define $f:E\rightarrow\mathbb{R}$ such that $\{x\in E : f(x)&gt;c\}$ is measurable for all $c\in\mathbb{Q}$, is $f$ measurable?  There are a number of equivalent definitions for the measurability of a function and the most obvious one would be to show that $\{x\in E : f(x)&gt;c\}$ is measurable for all $c\in\mathbb{R}$.  Thus my strategy has been to consider an arbitrary irrational $y$ and use the density of the rationals in the reals to show that there exists some open set $O$ such that $m^*(O-\{x\in E : f(x)&gt;y\})&lt; \varepsilon$.  I would do this by choosing some rational $q&lt;y$, close enough to $y$, such that the set of values in $E$ which get sent under $f$ to values strictly greater than $q$ and less than or equal to $y$ is small enough.  But that doesn't in general seem possible since I could keep sending intervals of some fixed positive length to smaller and smaller regions just beneath $y$.  However conversely, such a function would not be enough for a counter example, since finding such a function only rules out this strategy, but doesn't necessarily entail non-measurability.  Is there a better definition of the measurability of a set I should use? or does the statement actually not imply measurability?  Thanks. What purpose does downvoting questions serve? Writing comments in QGIS Graphical Modeler I want to explain my model step by step so anyone can easely understand what's going on. So, is it possible to write comments in the QGIS's Graphical Modeler? I'm being asked to find 2 subgroups of $S_3$, one of which is normal and one that isn't normal. I guess, to find the non normal subgroup is easier. I would do this by trial and error, but since the group is $S_3$ and easily visualizable, I guess that there should be a geometrical property that makes it easy to find a normal subgroup. Any of you guys know one? Or should I try this by brute force? What does "causally connected" or "causes" really mean? In a different thread, a user stated the following about events preceding or following other events:     However, if the two events are causally connected ("event A causes event B"), the causal order is preserved (i.e. "event A precedes event B") in all frames of reference.   My question is what does "causally connected" really mean? What does "causes" mean? Further, given that we know that we can have instantaneous effects in typical quantum processes (e.g. flip the polarizer, effect on another a reading light years away, even though we cannot transmit useful information with this), does that not constitute "causing" for the purpose of this statement? Drawing on an image with TikZ Submitting a form by pressing enter without a submit button Well I am trying to submit a form by pressing enter but not displaying a submit button. I don't want to get into JavaScript if possible since I want everything to work on all browsers (the only JS way I know is with events).  Right now the form looks like this:  &lt;form name="loginBox" target="#here" method="post"&gt;     &lt;input name="username" type="text" /&gt;&lt;br /&gt;     &lt;input name="password" type="password" /&gt;     &lt;input type="submit" style="height: 0px; width: 0px; border: none; padding: 0px;" hidefocus="true" /&gt; &lt;/form&gt;   Which works pretty well. The submit button works when the user presses enter, and the button doesn't show in Firefox, IE, Safari, Opera and Chrome. However, I still don't like the solution since it is hard to know whether it will work on all platforms with all browsers.  Can anyone suggest a better method? Or is this about as good as it gets? How can I deduce/identify an app from a notification icon? Hadamard Product of $e^z-1$ Assuming the formulas $$\sin(z)=\frac{e^{iz}-e^{-iz}}{2i}\quad\text{and}\quad\frac{\sin(\pi z)}{\pi z}=\prod_{n=1}^\infty\left(1-\frac{z^2}{n^2}\right),$$ I want to find the Hadamard product of $e^z-1$. I think I've done the work correctly, but I end up having an extra factor of $2\pi i$ at the end (this is from Stein and Shakarchi's book and they list the answer for this particular problem). So, my work is \begin{align} e^z-1&amp;=e^{z/2}\left(e^{z/2}-e^{-z/2}\right)\\ \\ &amp;=e^{z/2}\left(e^{i(-iz/2)}-e^{-i(-iz/2)}\right)\\ \\ &amp;=2ie^{z/2}\left(\frac{e^{i(-iz/2)}-e^{-i(-iz/2)}}{2i}\right)\\ \\ &amp;=2ie^{z/2}\sin(-iz/2)\\ \\ &amp;=2\pi i ze^{z/2}\frac{\sin(-iz/2)}{\pi z}\\ \\ &amp;=2\pi i ze^{z/2}\frac{\sin\left(\pi(\frac{-iz}{2\pi})\right)}{\pi z}\tag{*}\\ \\ &amp;=2\pi i ze^{z/2}\prod_{n=1}^\infty\left(1-\frac{\left(\frac{-iz}{2\pi}\right)^2}{n^2}\right)\\ \\ &amp;=2\pi i ze^{z/2}\prod_{n=1}^\infty\left(1+\frac{z^2}{4n^2\pi^2}\right). \end{align}  The answer according to the book is $$e^z-1=e^{z/2}z\prod_{n=1}^\infty\left(1+\frac{z^2}{4n^2\pi^2}\right).$$Have I made a simple mistake in calculation, or are the two somehow compatible with each other?  Update: Thomas Andrews has pointed out a mistake in my infinite product formula. I've corrected that mistake.  $(*)$ The error occurs from this line to the next. Instead of multiplying and dividing by $z$, I should have multiplied and divided by $\frac{-iz}{2\pi}$. That would cause the appropriate cancellation. $[K(\zeta_n):K]=\phi(n)$? Is it true that $[K(\zeta_n):K]=\phi(n)$ where $\zeta_n$ be primitive root of unity and K be field of char zero?  I think it should be equal to the degree of cyclotomic polynomial which has degree $\phi(n)$.  Can someone please elaborate that what is the procedure for finite fields