I have an ordinal score ranging from ( 1 to 5 ) called "Score"   I have another binary variable Human Response (Yes or No ) called "h_score"  I don't think i can do correlation study in this case as the h_score isn't numeric or ordinal and hence correlation doesn't make sense.   How do i analyze if there is difference in distribution of score across h_score ? Can I use chi square test ?
I'm struggling with my lab report. I have a questionnaire which contains Likert responses (1-7) as well as questions that require only yes or no answers. I want to see if there is a correlation between higher scores on the likert scale and responses to the binary answers to the other questions.   Specifically - the likert response is about anxiety levels. The binary (yes/no) answer is about negative consequences due to alcohol use. I want to just run the one ordinal likert item with all the negative consequence responses to see if there is a relationship. Can anyone help me?     Thanks so much for the fast comments. It definitely assures me that Spearman's Rho can be used but my main problem is the fact that i am mixing binary and ordinal variables together in the one correlation matrix.  I have one ordinal variable (anxiety - 1-7 on likert scale) crossed with 13 dichotomous (0 or 1 representing yes or no) to answers ("have you ever been hospitalised due to your alcohol use?). I get statistically significant answers (&lt;.05 and &lt; .01 but the Correlation coefficients are tiny (i.e o.2) at best.   the hospitalisation is the DV an the anxiety levels the IV.   I just think i'm doing something wrong here. should i collapse the 13 binary variables in to one some how?   i can't see how SPSS will recognise the values between 1-7 when correlating with binary answers. i keep thinking it will just read that there is something in that box (ordinal) but not recognise the value (i.e 1-7) . but people keep saying that SPSS does in fact recognise this difference and account for it.
How long can cooked food be safely stored at room/warm temperature? If I leave fully-cooked food (particularly meat) out at warm temperature - say on the counter or in a crock pot that's been turned off -  how long will it stay safe to eat?  Does it make any difference if I re-cook the food afterward? Careers - filter by location & tag On Careers I thought it wold be nice to be able to filter by , possibly multiple, in additional to location.  Nothing fancy, but something like ....        The image of tags is stolen from the SO side to convey the idea. I suspect functionality on the Careers side would need to be a bit different.  Recent tags would likely make sense.  Favorite tags, particularly the more specific ones might not (e.g., a job posting for , ).  Anyway, the image is just to give a sense of the idea. I just finished installing mysql-server, and then installed phpmyadmin which came with Apache and PHP. It set it up alright and made a phpMyAdmin database, but I can't seem to find the URL to get to it -- I tried going to  but it doesn't seem to be there.  I can't find the location in any of the manuals, does anyone know where this is located? Thanks. I am trying to define an rgb color. More specifically I want to create this color    which in rgb mode it's (98,190,177).  I tried to define this color using the following code  \documentclass{standalone}  \usepackage{tikz}  \begin{document}  \definecolor{tank}{rgb}{0.098,0.190,0.177}  %\definecolor{tank}{rgb}{98,190,177}  \begin{tikzpicture}   \coordinate (tank) at (0,0);   \draw[red, fill=tank] (-2,0.5)--(-0.5,1)--(0.5,1)--(2,0.5)--(2,-0.5)--(0.5,-1)--(-0.5,-1)--(-2,-0.5)--cycle;  \end{tikzpicture} \end{document}   but the output is totally different from what I am trying to achieve    I also tried to use \definecolor{tank}{rgb}{98,190,177} but I get no color at all. How to properly define an rgb color? I'm currently building a sitemap for my web app.  Note: my app is a single page app built with React and Firebase.  Basically I wan to index blogPost and product pages. So I intend to generate my sitemap dynamically (on server). It's a small website (around 500 pages).  I want to build something like this:  &lt;urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"&gt;   &lt;url&gt;     &lt;loc&gt;       https://www.myproject.org/blog/some-blog-post-slug     &lt;/loc&gt;     &lt;lastmod&gt;2019-11-14T20:22:43.502+00:00&lt;/lastmod&gt;     &lt;changefreq&gt;weekly&lt;/changefreq&gt;     &lt;priority&gt;0.8&lt;/priority&gt;   &lt;/url&gt;   &lt;url&gt;     &lt;loc&gt;       https://www.myproject.org/dp/some-product-slug     &lt;/loc&gt;     &lt;lastmod&gt;2019-11-15T13:08:52.127+00:00&lt;/lastmod&gt;     &lt;changefreq&gt;weekly&lt;/changefreq&gt;     &lt;priority&gt;0.8&lt;/priority&gt;   &lt;/url&gt; &lt;/urlset&gt;   And I keep the following properties in my database, both for blogPosts and products:  createdAt: &lt;Timestamp&gt; lastModifiedAt: &lt;Timestamp&gt;  // UPDATED EVERYTIME I UPDATE THE RECORD   And I'm thinking about using my lastModifiedAt value as the &lt;lastmod&gt; tag for the sitemap.  So far, so good! Everytime I update my blogPost or product objects in my database. The next time the sitemap is requested, the new modifiedDate will show on those that have been changed.  QUESTION  But what if I make a change not in the database itself, but in the way I render all the product pages, for example.  Imagine that I've added some structured data tags to display rich results on google, with price, reviews etc. So my product info is the same, but from that point on, all of my product pages will render those extra tags that I need to be re-indexed.  Example (add a structured data tag with the product price):   &lt;div property="schema:price" content="119.99"&gt;&lt;/div&gt;   In that situation, will I have to update all &lt;lastmod&gt; for all the products? How Google will know that it needs to re-crawl those pages and be able to see the structured data tags?  What if I change only the styles for the productPages? Do I have to update the &lt;lastmod&gt; for every product in this case? Redshifting of Light and the expansion of the universe So I have learned in class that light can get red-shifted as it travels through space. As I understand it, space itself expands and stretches out the wavelength of the light. This results in the light having a lower frequency which equates to lowering its energy.  My question is, where does the energy of the light go? Energy must go somewhere!   Does the energy the light had before go into the mechanism that's expanding the space? I'm imagining that light is being stretched out when its being red-shifted. So would this mean that the energy is still there and that it is just spread out over more space? What is a comprehensive definition of Philosophy? Alternatively, is it impossible to define Philosophy? This is a pseudo- question, but it seems like it belongs here. Why does kinetic energy increase quadratically, not linearly, with speed? As  says:     [...] the kinetic energy of a non-rotating object of mass $m$ traveling at a speed $v$ is $\frac{1}{2}mv^2$.   Why does this not increase linearly with speed? Why does it take so much more energy to go from $1\ \mathrm{m/s}$ to $2\ \mathrm{m/s}$ than it does to go from $0\ \mathrm{m/s}$ to $1\ \mathrm{m/s}$?  My intuition is wrong here, please help it out! IllegalArgumentException: Invalid column How do I completely reset network settings? How do you find out the caller function in JavaScript? function main() {    Hello(); }  function Hello() {   // How do you find out the caller function is 'main'? }   Is there a way to find out the call stack? Why are there no Pokémon near me? I see pictures online of everyone having all these Pokémon to catch being everywhere around them, but it seems like I can only ever see one or two. I live in a rural area, but even walking miles through the farmland, it's rare to find any Pokémon.  Why is this? How can I find more Pokémon? Upload files with HTTPWebrequest (multipart/form-data) What does the Visual Studio "Any CPU" target mean? Confirmation that (inner) classes are still not fully supported in @AuraEnabled methods? Reading JSON from a file? Do you have to want to hurt someone for the cruciatus curse to work? Is it possible to do a cross page POST to an ASP.NET, from a static HTML form? I am writing pseudo code in the algorithmic environment. It is quite long and doesn't fit on one single page. Instead of it continuing on the next page, it is cut off. I tried inserting it into a figure environment, but the problem persists. Is there a solution to have the code continue on the next page? Uses of the 'Golden Ratio' I have heard much about the numerous appearances of the ratio found in nature: 1.6180339887.  Are there any actual mathematical uses that have been found of this number? What are its advantages? Just curiosity, really.