Can anyone tell me how to interpret the 'residuals vs fitted', 'normal q-q', 'scale-location', and  'residuals vs leverage' plots?  I am fitting a binomial GLM, saving it and then plotting it.
I had a question about interpreting the graphs generated by plot(lm) in R.  I was wondering if you guys could tell me how to interpret the scale-location and leverage-residual plots?  Any comments would be appreciated.  Assume basic knowledge of statistics, regression and econometrics.
I'm using pdfLatex (with --shell-escape option) and I had a problem of compilation with TexWorks that was successfully solved with the help of other post in this site: .  After correcting that error the code compiles smoothly but just displays the logarithmic grids, not the function. The gnuplot files are created in the right place, but the graphic doesn't come out in the PDF.  Code from :  \documentclass{article}  \usepackage{tikz} \usepackage{bodegraph}  \begin{document}  \begin{tikzpicture}[     gnuplot def/.append style={prefix={}}, % Fixed the issue (prefix was 'gnuplot/\jobname/' before) ] \begin{scope} \UnitedB \semilog{-1}{2}{-50}{60}  \BodeAmp{-1:1.35}{\POAmpAsymp{4}{2.0}+\IntAmp{1}}  \end{scope} \end{tikzpicture} \end{document}   Any clues? What is the difference between DPI (dots per inch) and PPI (pixels per inch)? There are lots of other questions on Graphic Design which partly cover this, e.g. .  However, I have become frustrated at the number of questions and answers which confuse the two terms. I think understanding the difference is important.  So here's a place to answer this question well and clear up the confusion! HP Easy Scan - "HP Scanner 3" will damage your computer As well as many of the other features talked about during macOS Mojave's release like dark mode and the addition of new apps like Home, another key feature of macOS Mojave seems to be it's heightened focus on both privacy and security.   As quoted under the "Camera and Microphone Now Require Your Permission" section of  article:      Apple also announced that other categories of data, such as your Messages history and Mail database, will be protected in a similar manner to macOS Mojave's new camera and microphone permissions.   I understand that after the update, when an app requests to use your camera or microphone, you will receive an alert like the one below:    However, I am more intrigued by the following:     ...other categories of data, such as your Messages history and Mail database, will be protected in a similar manner...   I have been unable to find much information about this online and I do not currently have the pre-release version of macOS Mojave installed and am therefore unable to test this new feature but I am curious to know what exactly this feature will mean.   Has Apple publicly documented how this will work? What is the difference between the examples below?  Generally, in a newspaper, news is based on past tense (things which have already happened).   Then why are headlines written in ways that says: He Kills (shouldn't it be: He Killed)?  For example:  Parliament passes bill vs. Parliament passed bill  Also  He kills his friend vs. He killed his friend  Please help. What part of a multi-type damage roll is reduced by a non-type-specific effect? Effects like  (PHB, p. 54) and Spirit Shield (XGtE, p.  10) reduce damage by a roll, irrespective of damage  (PHB 196). However, single damage rolls can have multiple damage types, as confirmed (for wording) by Jeremy Crawford in .   How do you know which part of the damage is reduced?   This could actually make a difference to the amount of damage taken if, for example, the creature taking damage is resistant to one or more of the damage types involved.       Cutting Words: ... When a creature that you can see within 60 feet of you makes an attack roll, an ability check, or a damage roll, you can use your reaction to expend one of your uses of Bardic Inspiration, rolling a Bardic Inspiration die and subtracting the number rolled from the creature's roll.   Using this ability to expand upon the examples found in  and :     Barny, an Ice Devil (MM, p.  75) hits Bobby, rolling 9 slashing damage and 11 cold damage.      Bobby's ally, Vera, is a level 10 bard of the college of Lore, and uses her Cutting Words ability on the attack's damage roll. She rolls a 9, which is subtracted from the Barny's damage roll.      Bobby is wearing his Boots of the Winterlands (DMG, p.  156), giving him resistance to cold.   We know that "resistance and then vulnerability are applied after all other modifiers to damage" (PHB, p.  197) and both slashing damage and cold damage are treated as "one big damage roll" (see the JC tweet), so is all the 9 slashing damage removed by cutting words, and then the cold damage halved for 5 total damage, or is 9 of the cold damage removed by cutting words, leaving 2 to be halved for a total of 1 + 9 = 10 damage taken by Bobby?   Who makes this decision?  When an effect (like cutting words) reduces damage without specifying type from a source containing multiple damage types, what part of the damage is reduced? Enable thumbnail preview when uploading files in Google Chrome/Firefox? I have google chrome and when I upload photos to Facebook or Imageshack I cannot find a way to show thumbnails, only detail view. I also tried this in Firefox. This is quite important as it is stopping my friend from switching to Ubuntu over Windows.  Included a picture of the File Upload window, how do I  change this to a thumbnail view rather than the current list? Can the sum of the first $p$ factorials ever be a perfect power for $\ p>3\ $? Has $$\sum_{j=1}^p j!=q^r$$ , where q,p,r are positive integers, and r > 1 , a solution ?   I solved partially, if r is even, then RHS is a perfect square, and there is no doubt in that. Therefore, the left side must be a perfect square as well. But for p>3, the last digit of LHS is 3 which is not the last digit of any square. Hence, p&lt;4, and hence manually checking, only solutions are p =1,3. But i cannot generalize when r is odd.  Any solution to the next part would be helpful! I just bought a controller because I am tired of not to being able to do any tricks with keyboard controls. The problem is I am can't configure controls as FIFA 13 PC version  doesn't consider a controller in their settings.  Does anyone know how to do this? How do I perform a biographical interview? I have a couple of elderly relatives who have not kept a journal and refuse to write down their "life story." I really would like to know their stories and who they were and who they are. They have their favorite stories that they rehash every time I see them, but I'd like to get more. I have no experience with "interviewing" and am looking for information on how to get their stories. Any websites, books, and or tips\techniques would be greatly appreciated. What are SPF records, and how do I configure them? When creating a question/answer on the Android app, it gives you a little bar above the keyboard to bold/italicize, add a link easily, add a picture etc.  When editing however, this bar isn't shown. To ease editing on mobile, it would be exceedingly helpful to have this bar show up. I find myself resorting to the full site to add a embedded link if I can't at the moment remember the exact syntax. What does \x mean in C/C++? Prove $n\mid \phi(2^n-1)$ If $2^p-1$ is a prime, (thus $p$ is a prime, too) then $p\mid 2^p-2=\phi(2^p-1).$  But I find $n\mid \phi(2^n-1)$ is always hold, no matter what $n$ is. Such as $4\mid \phi(2^4-1)=8.$  If we denote $a_n=\dfrac{\phi(2^n-1)}{n}$, then $a_n$ is , but how to prove it is always integer?  Thanks in advance! Dynamically fill an Enum with a list I'm writting an addon with an UI. In my draw function in my UI class I've this   layout.prop(bpy.context.scene, 'activebone', text='active bone')   Wich create an enum in the UI.    And in my register class I've this:  bpy.types.Scene.activebone = bpy.props.EnumProperty(items=active_bone)   In my draw fonction I fill the active_bone list with the some data and but the enum don't refresh himself. I know that i can retype  bpy.types.Scene.activebone = bpy.props.EnumProperty(items=active_bone)   But the draw function is Read only so I can't. Is it possible to refresh my Enum item in the draw function or am I obliged to do it in an other class like a button? YA dystopia novel of battle school with unusual military control scheme Some sort of battle school (no, not Ender's Game), where teens are being trained as military commanders.   The control system for their army hinges around some sort of system that requires extremely fine motor control -- being able to "push" around digital representations of military units using a special interface that interprets minute finger movements.  The boy protagonist eventually meets a girl in the battle school, and is astonished to learn that most people do not live as well as he does -- for instance, he gets a fresh jumpsuit outfit every day and disposes of the old one; this is a luxury.  One scene I recall is them kissing for a moment in some sort of underground passageway; the boy protagonist notes the exact length of the kiss, as he has been trained to have heightened time perception.  I don't recall much about other commander characters; I think they have different special abilities, and one other major character might have physical deformities, possibly because of postwar-radiation-related birth defects.  They have been training for an upcoming, prearranged final battle between all the existing national governments; the military units are very possibly robotic or entirely digital in nature, so as to avoid wasting materiel / human life.    They ultimately win the battle, just barely; I think the girl protagonist gives them an edge in the competition by hacking the timing / control system in favor of their team, causing a discrepancy which only the boy protagonist notices due to his heightened perceptions.  It was agreed that the winning government gets dominion over one of the few islands of land left that was not irradiated in some previous war; the protagonists get to live there as a reward for their victory.  I believe the boy protagonist later realizes he's gradually losing his ability to exactly quantify the passage of time.  Published no later than 2004, likely somewhere between 1980-2000, probably sometime in the '90s. Why do cockroaches burst from soapy water? The cardinality of the set of all finite subsets of an infinite set Can you raise a number to an irrational exponent? Is it possible that by mutation a human could see infrared or other 'colours'? Incoming light reacts with the several types of cone cells in the eye. In humans, there are three types of cones sensitive to three different spectra, resulting in trichromatic color vision. Each individual cone contains pigments composed of opsin apoprotein, which is covalently linked to either 11-cis-hydroretinal or more rarely 11-cis-dehydroretina.  The opsins (photopigments) present in the L and M cones are encoded on the X chromosome.  A very small percentage of women may have an extra type of color receptor because they have different alleles for the gene for the L opsin on each X chromosome. X chromosome inactivation means that only one opsin is expressed in each cone cell, and some women may therefore show a degree of tetrachromatic color vision. Tetrachromacy is also demonstrated among several species of birds, fish, amphibians, reptiles and insects.  Humans cannot see ultraviolet light directly because the lens of the eye blocks most light in the wavelength range of 300–400 nm.  So, besides above mentioned exceptions, is it possible due to mutations or genetic engineering to see UV or infrared. What kind of mutations should be made or are the changes to be made in the opsines to big to create 'alien' eyes?