Confidence interval of the proportion in case of 0 I am trying to estimate the (say 95%) confidence interval of a proportion. For instance, I want to estimate how many students will take a particular course next year. There are N1 students in total. I asked randomly N2 students, and N3 students say yes. I estimate the proportion is N3/N2. I tried to estimate the confidence interval as:  Source:  However, if p' is 0 or 1, how could I calculate the standard deviation because it will become 0, regardless of the sample size?
Confidence interval around binomial estimate of 0 or 1 What is the best technique to calculate a confidence interval of a binomial experiment, if your estimate is that $p=0$ (or similarly $p=1$) and sample size is relatively small, for example $n=25$?
Can you switch to the other Unarmored Defense by multiclassing? PHB p164 states:      If you already have the Unarmored Defense feature, you can't gain it again from another class.   So if I start as a Monk and gain the UD(Wis) feature, and then at next level up, take a level in Barbarian, can I switch to the alternate UD(Con)? Or am I stuck with UD(Wis), even if I take 19 levels in Barbarian?  I'm unclear if the rule is stating this or stating that you can't use both at the same time, which I know. amsmath align environment: row spacing How can I stretch the spacing between consecutive lines in an align* environment? I have a few lines with \fracs in which both the numerator and the denominator consist of textual phrases, not math symbols, and the result looks too cluttered.  \begin{align*} X &amp;= \frac{\textit{Some text here}}{\textit{And some text here}}\\ Y &amp;= \frac{\textit{Will make everything}}{\textit{Look too close together}} \end{align*} In fact, of these, only Charcoal shows a recent time stamp. There are 8 crew members, The leading member wants that only a crew of 5 people or more could open a safe he bought, To each member he gave equal amount of keys, and locked the safe with several locks.  What's the minimal number of locks he should put:   at least 5 crew members would be required to open the safe? Any team of 5 crew members could open the safe, but none of the 4 team crew members.   1,2 stands individually of course. iPhoto had it's own trash, and when you've emptied it, files moved to the system trash. I cannot find this in the new Photos app. When I delete files, they don't appear in the system trash. A water pipe from sea level to beyond the atmosphere If a pipe extended from just above the ocean floor to outside the atmosphere, would water be sucked up it by the vacuum beyond the atmosphere? If a hole was made in the pipe, above sea level, how would that affect the flow of water? Would it stop it completely? Finding basis of $\mathbb{Q}(\sqrt{2},\sqrt{3},\sqrt{5})$ over $\mathbb{Q}$ Show that if $n>2$, then $(n!)^2>n^n$. What is the correct way of installing BOINC software? Should multiverse theories be rebranded as meta physics? I answered a question here with a quote with the following quote from Cosmologist George Ellis.     “Similar claims [about a multiverse] have been made since antiquity by many cultures. What is new is the assertion that the   multiverse is a scientific theory, with all that implies about being   mathematically rigorous and experimentally testable. I am skeptical   about this claim. I do not believe the existence of those other   universes has been proved—or ever could be. Proponents of the   multiverse, as well as greatly enlarging our conception of physical   reality, are implicitly redefining what is meant by ‘science.’”—pg 39      “For a cosmologist, the basic problem with all multiverse proposals is the presence of a cosmic visual horizon. The horizon is   the limit to how far away we can see, because signals traveling toward   us at the speed of light (which is finite) have not had time since the   beginning of the universe to reach us from farther out. All the   parallel universes lie outside our horizon and remain beyond our   capacity to see, now or ever, no matter how technology evolves. In   fact, they are to far away to have had any influence on our universe   whatsoever. That is why none of the claims made by multiverse   enthusiasts can be directly substantiated.”—pg 40-41      “A remarkable fact about our universe is that physical constants have just the right values needed to allow for complex structures,   including living things. Steven Weinberg, Martin Rees, Leonard   Susskind and others contend that an exotic multiverse provides a tidy   explanation for this apparent coincidence: if all possible values   occur in a large enough collection of universes, then viable ones for   life will surely be found somewhere. This reasoning has been applied,   in particular, to explanation the density of the dark energy that is   speeding up the expansion of the universe today. I agree that the   multiverse is a possible valid explanation for the value of this   density; arguably, it is the only scientifically based option we have   right now. But we have no hope of testing it observationally.”—pg 42      “All in all, the case for the multiverse is inconclusive. The basic reason is the extreme flexibility of the proposal: it is more a   concept than well-defined theory. Most proposals involve a patchwork   of different ideas rather than a coherent whole. The basic mechanism   for eternal inflation does not itself cause physics to be different in   each domain in a multiverse; for that, it needs to be coupled to   another speculative theory. Although they can be fitted together,   there is nothing inevitable about it. … Nothing is wrong with   scientifically based philosophical speculation, which is what   multiverse proposals are. But we should name it for what it is.”—pg 43   Now with this in mind if these theories cannot be independently verified should their truth not lie in  method outside physics or what is also known as meta physics? I've made a roughness 0 glass pane, when I'm in lookdev mode it's reflecting a background that I didn't put there. I know I could just ignore it, but I'd rather be able to see what it'll mostly look like when I'm in the later stages. I also just want to know how on Earth I managed to set this background without realising it  Reflection completely ignores any objects I put in front of it. If I placed this glass inside my house, it would still just reflect trees (This is the point where I felt I couldn't ignore it - reflections are going to play a big part in my project and I don't want to be in render mode all the time)  The nodes are the default glass BSDF, except I set roughness to 0  The glass is set to 20mm thick, if that makes a difference  The background moves with my perspective and moves when I relocate the glass  I have a few HDRI's on my PC, but none look remotely like this   Also, I'm using cycles as I find Evee buggy as hell What are the chances of getting $K$ identical outcomes in a row in a series of $Y$ independent events? Each event has two possible outcomes: a and b.  Each event is independent.  Outcome a has $X\%$ chance of happening.  If we run $Y$ number of such events, what are the chances of getting $K$ outcomes a in a row, at least once?  To put it in practical terms imagine a series of coin tosses. Each coin toss has two possible outcomes: a = heads and b = tails. Outcome a = heads has a chance of $50\%$. If we run $Y = 100$ number of coin tosses, what are the chances of getting $K = 10$ outcomes a=heads in a row, at least once?   I'm using the practical example only so I can express the idea more clearly. I'm interested in finding out the general formulas and computations so that I can run the calculations for any $X$, $Y$, or $K$.  I would also be very interested in knowing how the probabilities would change if the events would not be independent. What if the more outcomes a we have in a row the bigger the chance of getting an outcome a in the next event? What if it's the other way around, and the more outcomes a in a row we have the lower the chance of getting another a? Showing a compact metric space has a countable dense subset Is there a word which describes terms that are spelled like a particular pronunciation? Some examples: &quot;never&quot; might be written as &quot;neva&quot; &quot;I don't know&quot; is sometimes written as &quot;iono&quot; or &quot;I dunno&quot; on various internet media. My question is: is there a word for this particular technique of spelling a term in the way it is (sometimes) pronounced? In the top left corner of the post-race menu, there is a prompt to press + to add (or remove) one star out of six. What do these stars do? Wrong favicon displayed on Google's mobile SERP For some time now, Google has been displaying a website's favicon next to its title on the mobile SERP according to    But, for one website that I am managing, it is showing a completely different favicon. You can see it if you open the  on a mobile device, I am talking about the orange one:  I am referring to the top result.  As you can see on the , the favicon has been added correctly using the proper meta tag:   &lt;link  rel="icon" type="image/x-icon" href="https://www.hoofgroove.ch/pub/media/favicon/default/favicon.ico" /&gt;   This is according to .  Also, all the browsers are displaying the correct favicon, which is not the orange one but the black&amp;red one.  This meta tag has been used for weeks and also the  has always been the correct one as far as I can tell.  But for some reason, Google is showing the wrong favicon on its mobile SERP.  Any ideas why? Number of $n^2\times n^2$ permutation matrices with a 1 in each $n\times n$ subgrid I found the following question in a paper I was trying to solve:  The following figure shows a $3^2 \times 3^2$ grid divided into $3^2$ subgrids of size $3 \times 3$. This grid has $81$ cells, $9$ in each subgrid.    Now consider an $n^2 \times n^2$ grid divided into $n^2$ subgrids of size $n \times n$. Find the number of ways in which you can select $n^2$ cells from this grid such that there is exactly one cell coming from each subgrid, one from each row and one from each column.  My try:  Since we have $n^2$ rows, $n^2$ columns and $n^2$ subgrids in total, we have to choose one and only one cell from each of them. Let's choose them one at a time. We can choose the first cell in $n^4$ many ways. Then, we'll have to avoid that subgrid, that column and that row that we've chosen the first one from when choosing the second cell. So, we have $n^4-n^2-2n(n-1)$ choices. We can continue this to get the total number of possible ways. But, I think there's a hole. Say, we've chosen the first cell from the subgrid of the up-left corner and the second from the subgrid just right to it so that it doesn't violate any rules. Then, when finding the number of ways we can choose the third cell, we would have substracted some of the cells twice. I think you get it. Please, if anyone can help me solving this problem, it'd be greatly appreciated. Making an Emission shader emit a different colour of light than the colour assigned to the object? According to general relativity, inertial mass and gravitational mass are the same, and all accelerated reference frames (such as a uniformly rotating reference frame with its proper time dilation) are physically equivalent to a gravitational field of the same strength.  Refer: Einstein's thought experiment of a Physicist in an Accelerated Box.  I find that the 'How' part of this question is somewhat easy to understand Mathematically but hard to visualize physically and on the 'Why' part I am totally blank. Let $f$ be a real-valued function continuous on $[a,b]$ and differentiable on $(a,b)$. Suppose that $\lim_{x\rightarrow a}f'(x)$ exists. Then, prove that $f$ is differentiable at $a$ and $f'(a)=\lim_{x\rightarrow a}f'(x)$.    It seems like an easy example, but a little bit tricky. I'm not sure which theorems should be used in here.    ==============================================================  Using @David Mitra's advice and @Pete L. Clark's notes I tried to solve this proof. I want to know my proof is correct or not.  By MVT, for $h&gt;0$ and $c_h \in (a,a+h)$ $$\frac{f(a+h)-f(a)}{h}=f'(c_h)$$ and $\lim_{h \rightarrow 0^+}c_h=a$.    Then $$\lim_{h \rightarrow 0^+}\frac{f(a+h)-f(a)}{h}=\lim_{h \rightarrow 0^+}f'(c_h)=\lim_{h \rightarrow 0^+}f'(a)$$   But that's enough? I think I should show something more, but don't know what it is.