Probability that $AX^2+BX+C=0$ has only real roots for $A,B,C \sim Unif(0,1)$
Probability that a quadratic polynomial with random coefficients has real roots
Normality of dependent variable = normality of residuals? This issue seems to rear its ugly head all the time, and I'm trying to decapitate it for my own understanding of statistics (and sanity!).   The assumptions of general linear models (t-test, ANOVA, regression etc.) include the "assumption of normality", but I have found this is rarely described clearly.   I often come across statistics textbooks / manuals / etc. simply stating that the "assumption of normality" applies to each group (i.e., categorical X variables), and we should we examining departures from normality for each group.   Questions:     does the assumption refer to the values of Y or the residuals of Y?  for a particular group, is it possible to have a strongly non-normal distribution of Y values (e.g., skewed) BUT an approximately (or at least more normal) distribution of residuals of Y?   Other sources describe that the assumption pertains to the residuals of the model (in cases where there are groups, e.g. t-tests / ANOVA), and we should be examining departures of normality of these residuals (i.e., only one Q-Q plot/test to run).  does normality of residuals for the model imply normality of residuals for the groups? In other words, should we just examine the model residuals (contrary to instructions in many texts)?  To put this in a context, consider this hypothetical example:   I want to compare tree height (Y) between two populations (X).   In one population the distribution of Y is strongly right-skewed (i.e., most trees short, very few tall), while the other is virtually normal  Height is higher overall in the normally distributed population (suggesting there may be a 'real' difference). Transformation of the data does not substantially improve the distribution of the first    population.  Firstly, is it valid to compare the groups given the radically different height distributions? How do I approach the "assumption of normality" here? Recall height in one population is not normally distributed. Do I examine residuals for both populations separately OR residuals for the model (t-test)?     Please refer to questions by number in replies, experience has shown me people get lost or sidetracked easily (especially me!). Keep in mind I am not a statistician; though I have a reasonably conceptual (i.e., not technical!) understanding of statistics.  P.S., I have searched the archives and read the following threads which have not cemented my understanding: My Android device won't connect. I've never got MTP to work, I've only ever got it to connect by USB mass storage, which was how it was working most recently. But now, since 13.04, it seems that option has been taken away entirely.  I need to be able to connect by USB to transfer files.  When I plug in the device I get an error that says Unable to open MTP device '[usb:002,003]':    After some web searching, I found that I might need a program called go-mtpfs, so I tried that, and it failed:  $ go-mtpfs /media/MyAndroid 2013/07/16 16:41:43 compiled against libmtp 1.1.5 Device 0 (VID=04e8 and PID=685e) is a Samsung Galaxy Y. 2013/07/16 16:41:43 found device Samsung: Galaxy Y (04e8:685e) @ bus 2, dev 3 :  LIBMTP PANIC: Unable to find interface &amp; endpoints of device 2013/07/16 16:41:43 rdev.open failed: open: open returned nil   How do I get my USB device to just connect, automatically, like it used to? Chrome does not install on windows xp sp3 Need a MP3 ID3 tagger, and cover fetcher I need to tag my MP3 library, and have tried kid3 (which was manual tagging), when I used Kubuntu 9.10 (I now use Ubuntu Meerkat) Here are the features I am hoping for:   A good and clean UI. Tagging should be automatic, like Winamp's autotag feature, which rocks, btw! It should also embed the cover-art in the mp3, not copy a jpeg file in the folder, because now-a-days all players support displaying cover art. But acceptable if not possible. Rename the files as per some regular expression like %TrackNo - %Artist - %Title.  Should be accurate, and more importantly smart. I want to start tagging at night, and hopefully my collection should be done by the morning, w/o it being stuck at a user prompt at 1%.   If one app cant do all, I am willing to use 3, wouldn't mind exposure to a few more apps ;)  I have used picard or someting, and I didnt like it quite a lot. But wouldn't mind using it, if there is no other alternative.   Thanks for your time! Usernames as Advertising or Spam? Precise back-reference target with hyperref and backref I'm trying to use arcpy to save an .mxd and am having an issue.  It doesn't matter if I use mxd.save or mxd.saveACopy I get the same error.  I know it doesn't look like I am doing anything w/ it here, but it's just a portion of my code:  import arcpy import arcpy.mapping as map arcpy.env.overwriteOutput = True  env.workspace = r"C:\MGIS\FinalProject2.gdb     mxd = map.MapDocument(r"C:\MGIS\Finalproject2.mxd") df = map.ListDataFrames(mxd)[0]  for df in map.ListDataFrames(mxd): df.scale = 2000000  #Add layers into map document addLayer = map.Layer(OKXcounties) addLayer1 = map.Layer(contourLabelText) addLayer2 = map.Layer(contoursClipLyr) addLayer3 = map.Layer(clipOKXLyr) map.AddLayer(df, addLayer, "AUTO_ARRANGE") map.AddLayer(df, addLayer1, "AUTO_ARRANGE") map.AddLayer(df, addLayer2, "AUTO_ARRANGE") map.AddLayer(df, addLayer3, "AUTO_ARRANGE")  # Add contour Labels for lyr in map.ListLayers(mxd):     if lyr.name == "contourLabelText":         lyr.showLabels = True     if lyr.name == "Contour Features":         lyr.transparency = 100  mxd.saveACopy(mxd)   I get the following error:   Traceback (most recent call last):   File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 312, in RunScript     exec codeObject in __main__.__dict__   File "C:\MGIS\geog485\FinalProject2\mxdtest.py", line 7, in &lt;module&gt;     mxd.saveACopy(mxd)   File "C:\Program Files\ArcGIS\Desktop10.0\arcpy\arcpy\utils.py", line 181, in fn_     return fn(*args, **kw)   File "C:\Program Files\ArcGIS\Desktop10.0\arcpy\arcpy\_mapping.py", line 668, in saveACopy     self._arc_object.saveACopy(file_name) AttributeError: MapDocObject: Unable to save.  Check to make sure you have write access to the specified file and that there is enough space on the storage device to hold your document.   Space is not the issue, I have 60 GB of free space and I've checked the windows properties of the .mxd file.  Read-only box is unchecked and I've "allowed" all permissions for all groups:    Does anyone have any idea how if this is a bug or how I can fix this?  I'm using ArcInfo 10.0 SP4. Are research survey questions expected to be handled with close votes? Is using Gravatar a security risk? This has been . It is unfortunate the accepted answer is so far from reality.   There are some facts:    's MD5 hash is an unsalted MD5 hash of an email address. A 3rd party could harvest every MD5 hash for every user's email on Stack Overflow.  The 3rd party could store all the hashes in a lookup table Email addresses are usually of a very particular format The attacker could start with a brute force of @gmail.com followed by @yahoo.com, etc. The attacker has the advantage that he/she could attack a huge set of emails in one go. So instead of needing to brute force every email individually the attacker can brute force in bulk.   The algorithm is quite simple, calculate a "random" MD5, look it up in the lookup table.       Is Gravatar a big enough security risk to warrant caching images locally?     Examples:    Someone could harvest about 50k email addresses quite easily and shoot off a bogus promotion from Stack Overflow to all the users. A spammer/stalker/generic evil guy can tie you identity to all the rest of the sites that use Gravatar. How can I get a significant overall ANOVA but no significant pairwise differences with Tukey's procedure? I performed with R an ANOVA and I got significant differences. However when checking which pairs were significantly different using the Tukey's procedure I did not get any of them. How can this be possible?  Here is the code:  fit5_snow&lt;- lm(Response ~ Stimulus, data=audio_snow) anova(fit5_snow)  &gt; anova(fit5_snow) Analysis of Variance Table  Response: Response           Df Sum Sq Mean Sq F value  Pr(&gt;F)   Stimulus   5  73.79 14.7578  2.6308 0.02929 * Residuals 84 471.20  5.6095                   --- Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1   df&lt;-df.residual(fit5_snow) MSerror&lt;-deviance(fit5_snow)/df  comparison &lt;-  HSD.test(audio_snow$Response, audio_snow$Stimulus, df, MSerror, group=FALSE)  &gt; comparison &lt;-  HSD.test(audio_snow$Response, audio_snow$Stimulus, df, MSerror, group=FALSE)  Study:  HSD Test for audio_snow$Response   Mean Square Error:  5.609524   audio_snow$Stimulus,  means                  audio_snow.Response   std.err replication snow_dry_leaves            4.933333 0.6208034          15 snow_gravel                6.866667 0.5679258          15 snow_metal                 6.333333 0.5662463          15 snow_sand                  6.733333 0.5114561          15 snow_snow                  7.333333 0.5989409          15 snow_wood                  5.066667 0.7713110          15  alpha: 0.05 ; Df Error: 84  Critical Value of Studentized Range: 4.124617   Comparison between treatments means                                Difference   pvalue sig        LCL      UCL snow_gravel - snow_dry_leaves  1.9333333 0.232848     -0.5889913 4.455658 snow_metal - snow_dry_leaves   1.4000000 0.588616     -1.1223246 3.922325 snow_sand - snow_dry_leaves    1.8000000 0.307012     -0.7223246 4.322325 snow_snow - snow_dry_leaves    2.4000000 0.071587   . -0.1223246 4.922325 snow_wood - snow_dry_leaves    0.1333333 0.999987     -2.3889913 2.655658 snow_gravel - snow_metal       0.5333333 0.989528     -1.9889913 3.055658 snow_gravel - snow_sand        0.1333333 0.999987     -2.3889913 2.655658 snow_snow - snow_gravel        0.4666667 0.994348     -2.0556579 2.988991 snow_gravel - snow_wood        1.8000000 0.307012     -0.7223246 4.322325 snow_sand - snow_metal         0.4000000 0.997266     -2.1223246 2.922325 snow_snow - snow_metal         1.0000000 0.855987     -1.5223246 3.522325 snow_metal - snow_wood         1.2666667 0.687424     -1.2556579 3.788991 snow_snow - snow_sand          0.6000000 0.982179     -1.9223246 3.122325 snow_sand - snow_wood          1.6666667 0.393171     -0.8556579 4.188991 snow_snow - snow_wood          2.2666667 0.103505     -0.2556579 4.788991 Merge flash site into one executable How to prove $\text{Rank}(AB)\leq \min(\text{Rank}(A), \text{Rank}(B))$? Autofill feature isn't iterating numbers properly when using the AVERAGE() formula in Microsoft Excel Improving your own suggested edit makes you leave the First Posts review queue When reviewing the First Posts (and Late Answers) review queue, after you suggest an edit, you're back in the review queue and the I'm Done button is activated. So far, so good, but when I realize I want to edit something else as well (I often forget the tags), I can click the 'edit' link again. When I'm done improving my suggested edit, I'm suddenly outside the review queue.    This does not happen if you have enough reputation (2k) to edit posts straight away; then you always stay in the review queue. Programmatically download (seamless) NED tiles? I used to download 1/3 arcsecond elevation geotiffs from extract.cr.usgs.gov using web services.  But a few days ago, that stopped working, probably because USGS reorganized their site.  I tried emailing USGS and haven't heard back yet.    I could, of course, manually download states or degree tiles using the seamless server, but I want to do it programmatically so that users of my trip planner can get elevation data for their region without human intervention.  And SRTM isn't high enough resolution for bicycle/wheelchair trip planning.  Any ideas? Why can not upgrade texlive2016 to texlive2017 on windows I have texlive 2016 installed on my windows OS, to use texlive 2017 you need to download it (over then 2.5GO), I think this is a tedious operation every time you  want to pass from an old texlive to a recent one.  My question is is there a posibility just to upgrade texlive 2016 to texlive 2017without removing, downloading, and installinig  the entire texlive? I would like to set my monitor's scale under 100%, but Win10 only lets me set it to 100% or higher. Why won't Windows let me do that? Is there any workaround to do that? I am aware of the fact that scaling below 100% will result in merged pixels. Why does changing the returned variable in a finally block not change the return value? Install macOS Sierra on VirtualBox? I’m trying to install macOS Sierra on VirtualBox, but can’t seem to make it work. For reference, here are the steps I took.   Downloaded the Install macOS Sierra app from the App Store. Used the inbuilt media creation executable, CreateInstallMedia on a disk image. Created a new VM with the default settings for an OS X El Capitan, plus 128 VRAM. Since VirtualBox refused to accept the DMG, I tried splicing out the InstallESD. VirtualBox now accepted it, but wouldn’t boot. I tried to boot through rEFInd, but still no luck. I tried to patch it both ways (base system and ESD) with iesd. No luck. When booting to GParted LiveCD, it flat-out refused to discover any of the installer CDs.   How can I patch the installer to work with VirtualBox? I don’t want to use pre-patched versions of either the installer or an existing installation, as though to avoid piracy. It seems the .NET Regex.Replace method automatically replaces all matching occurrences.  I could provide a MatchEvaluator delegate that returns the matched string after the first replacement, rendering no change, but that sounds very inefficient to me.  What is the most efficient way to stop after the first replacement?