I have a dataset where I test for correlation and then if the correlation is significant. And basically my results are A correlates with B significantly and B correlates with C significantly, but A doesnt correlate significantly with C.  It is kind of unintuitive for me, I would have thought that A would also significantly correlate with C. Can anyone explain me why this is perfectly reasonable? I read about this question:   But I dont think thats the exact same scenario here.
First let me explain what I mean by "transitive" Suppose that the price of product A and the price of product B has a correlation of .5 Suppose also that the price of product B and product C has a correlation of .5  One might thing that if correlation(A,B) = .5 and correlation(B,C) = .5 then correlation(A,C) > 0, but with an intuitive example we can see why this is not the case:  Suppose that A is a fruit salad made of papaya and banana, suppose also that B is a fruit salad made of banana and strawberry and, finally, suppose that C is strawberries and cream. Clearly, when the price of banana goes up, both the price of A and B will go up; when the price of strawberry goes up the price of B and C will go up; but since A and C have no ingredients in common, their price isn't correlated.  My question is which statistical concept captures this intuitive idea. Is it the concept of dimensions?  What do I mean by transitive? Let me define the binary operator X corr? Y as 1 if correlation(X,Y) != 0 and 0 otherwise, so:   A corr? B = 1, B corr? C = 1, but  A corr? C could be = 0   If corr? was transitive, then A corr? C = 1
Let $f$ be an entire function with $|f(z)|\le 100\log|z|,\forall |z|\ge 2,f(i)=2i, \text{ Then} f(1)=?$  I have no idea how to solve this one!  $g(z)={f(z)\over \log|z|}$ Then Can I say $g$ is constant by Liouville Theorem? Show that every prime $p>3$ is either of the form $6n+1$ or of the form $6n+5$ Grub not loading after Windows 8 Install My system was configured to dual boot Ubuntu 12.04.1 LTS and Windows 7. Today I got my hands on the MSDN release of Windows 8 and I installed it over my Windows 7. Now the computer just boots to Windows 8 directly without loading the GRUB screen.  So I followed the steps as suggested in: . Running this command:      ls -l /dev/disk/by-label/   gives the following output:      total 0     lrwxrwxrwx 1 root root 10 Sep 11 07:51 Entertainment -&gt; ../../sda2     lrwxrwxrwx 1 root root 10 Sep 11 02:45 PENDRIVE -&gt; ../../sdb1   Also fdisk -l command gives this as the output:      Disk /dev/sda: 320.1 GB, 320072933376 bytes     255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors     Units = sectors of 1 * 512 = 512 bytes     Sector size (logical/physical): 512 bytes / 512 bytes     I/O size (minimum/optimal): 512 bytes / 512 bytes     Disk identifier: 0x1246aa23         Device Boot      Start         End      Blocks   Id  System     /dev/sda1   *        2048   319582199   159790076    7  HPFS/NTFS/exFAT     /dev/sda2       319582208   602906623   141662208    7  HPFS/NTFS/exFAT     /dev/sda3       602908672   625135615    11113472   83  Linux      Disk /dev/sdb: 1939 MB, 1939865600 bytes     64 heads, 63 sectors/track, 939 cylinders, total 3788800 sectors     Units = sectors of 1 * 512 = 512 bytes     Sector size (logical/physical): 512 bytes / 512 bytes     I/O size (minimum/optimal): 512 bytes / 512 bytes     Disk identifier: 0xc3072e18         Device Boot      Start         End      Blocks   Id  System     /dev/sdb1   *        2248     3788799     1893276    c  W95 FAT32 (LBA)   So I assume that I have to run this: sudo grub-install /dev/sda3 to get GRUB up and running. But I am getting this error:      /usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).   Can anyone please guide me in the right direction? The current Ubuntu installation is far too customized to my needs to lose it to a boot manager issue! Any help is much appreciated! $\operatorname{Aut}(\mathbb Z_n)$ is isomorphic to $U_n$. How to use itemize in Table environment I want to create a table like the picture below, and i wish to itemize the lamba_1 > lamba_2 > 0 using 'item style', which is the cell of each categories. Can someone help me? Does the alternating sum of prime reciprocals converge? $$\sum_{n = 1}^\infty \frac{(-1)^n}{p_n}$$ where $p_n$ is the $n$th prime.  I have computed this to 10000 rather than infinity. My results suggest that convergence does happen but it's very slow. But I can't even be sure about the first few digits: $-0.26959$?  I have looked at the "questions that may already have your answer" and some of the "similar questions," but they involve somewhat different formulas. How to set the monitor to its native resolution which is not listed in the resolutions list? After installing Ubuntu 10.04 with my Samsung SyncMaster B2030, native resolution (1600X900) is not found in the list of resolutions. How can I detect when an Exception has been thrown anywhere in my application?  I'm try to auto-magically send myself an email whenever an exception is thrown anywhere in my Java Desktop Application.  I figure this way I can be more proactive.  I know I could just explicitly log and notify myself whenever an exception occurs, but I'd have to do it everywhere and I might(more likely will) miss a couple.  Any suggestions? Can a fundamentally deceptive character work? This question is in the spirit of another . I would like to explore a style of role-playing in DnD (specifically 3.5e) that may be slightly different from how characters usually work. The question aims to answer if and how such a character can work and be played for everyone's amusement. I am still relatively new to the game, so please forgive me if this question is naive. Probably people have tried before and discarded the idea.  Character concept The character is supposed to be deceptive, on both the character and the player level. He will thrive to achieve some higher goal that is different to the party's, but not in an open way. He will play along and work for the party's interest, but wait for his moment (ideally towards the end of the campaign) to strike. As such an evil religious fanatic would be ideal, who works towards achieving the goals of his deity by deceiving his party members, gaining their trust and acquiring resources together with them, but when given the choice would take the powerful magical item and bugger off with it. Motivation and Concerns The main motivation is to bring some diversity to the usual scheme. People tend to play funny characters and there is usually (at least in our games) happy peace in the party with the only dispute being about who gets the loot. I feel a character like the one suggested would make things more interesting since people can't take their party members for granted anymore. The concern is of course that it might not be very fun for the party to have their plans destroyed by one member of the party playing an &quot;extra cool&quot; character. I think done well, it could still be fun for the other players though, which is why the rest of the question will be about how to do it. How? First of all the DM should probably know, maybe he can even build it into his campaign. The exact story details will then depend on the exact setting, but I am sure together with the DM something could be worked out. I am mainly interested in if it can work and how it could be fun. I have an iPhone 6 128 GB which is not jailbroken. The current version of iOS on the phone is 8.1.3 and yesterday I wanted to update to iOS 8.2.  The download went through without any problem but while installing, it gave the error:     Unable to Install Update   An error occurred installing iOS 8.2   Tried installing after switching Off and ON and also tried Hard Reset (Holding Home button and On/off switch).  Same error displays every time.  Also the Touch ID has stopped working and I find that the Settings - Touch ID &amp; Passcode - iPhone Unlock is OFF.  When I try to switch it ON, the system displays the error     Failed   Unable to complete Touch ID setup. Please go back and try again.   Is anyone facing this problem?  I live in India. Normal ubuntu desktop will update ubuntu-desktop package and it's dependencies on release upgrade. Will Ubuntu minimal cd install ubuntu-desktop on release upgrade or just installed packages? $f$ bounded but $f'$ isn't Difference between Can/Could: "Can (could) you sell your old computer to me?" What is difference between  Could you sell your old computer to me, seeing (that) you have no use for it. Can you sell your old computer to me, seeing (that) you have no use for it.  Can I use either one of them? Which one is grammatically correct or if both are, what is the difference in meaning? Can Tamron 16-300mm Macro Lens fit to Canon EOS 600D? I use Canon EOS 600D and I want a lens with a larger range. I found out Tamron 16-300 f/3.5-6.3 Di II VC PZD Macro Lens, I added it into my wishlist. I did some research on it and I'm scared that it couldn't fit to my Canon EOS 600D.  I'm still a beginner... I'm confused with EF, EF-S and APS-C/DX. Can someone please explain it to me? Special Relativity - Regarding the Simultaneity of Events During the Train Paradox My questions concerns that classic train paradox, wherein there is a train and a tunnel of equal length, and the train is traveling and some fraction of the speed of light towards the tunnel.  According to the Special Theory of Relativity, an observer outside the tunnel will see the train length contracted (Lorentz Contraction), whereas an observer inside will see the tunnel contracted.   Additionally, suppose that there were doors at the ends of the tunnel and that the observer outside the tunnel closed both doors instantaneously when he/she saw that the train was completely inside the tunnel.  The classic resolution of this paradox invokes the non-simultaneity of events, explaining that the observer in the train sees the far door close first, and then, once the train has begun to exit the tunnel, looks back to see the door at the beginning close. Thus, both observers agree that the train does not touch the door when they are closed for an instant.  Now my questions.  Why is it that the observer on the train sees the far door close first? It seems to me that the information coming from the far door would reach the observer on the train only after the information from the other door is reach.   Under this interpretation, the observer on the train would observe the train getting hit by the doors. What if, by some means, this event can be explained in terms of a stationary observer too? Everyone always concludes that the train remains untouched by the doors, but really the only condition that needs to be met is that both observers must agree. Why can't they both agree that the train was hit?  So, to summarize.   Why is the door that is farther away from the train observed to close first? Why can't the other possible conclusion (both see a hit train) be observed? When you are trying to say that something is automatically filled in, you use the word autofill, or if you were using past tense, autofilled.    I see 3 main ways that people use it:   auto fill / auto filled  auto-fill / auto-filled autofill / autofilled   Note: this also applies to pre fill, pre-fill, and prefill as well.  Which way is the most preferred spelling? Convert Month Number to Month Name Function in SQL I have months stored in SQL Server as 1,2,3,4,...12. I would like to display them as January,February etc. Is there a function in SQL Server like MonthName(1) = January? I am trying to avoid a CASE statement, if possible. I refer to the usage of "don't" as an imperative to tell someone what not to do. As in,     Hey! Don't you dare touch that button!   When it is used in the interrogative or as part of a statement, "don't" can be expanded like most other contractions. It either just breaks up right in the sentence, or surrounds the subject.     Don't you love me, Juanromeo? -> Do you not love me, Juanromeo?      I don't love you, Marijuliet. -> I do not love you, Marijuliet.   However, I have no idea how one breaks up the imperative. "Do you not dare[...]" sounds like it's a lead up to a question, "You do not dare[...]" comes across as a statement moreso than a command, and "Do not you dare[...]" just sounds silly.  "Don't" is a bit unique among "not" contractions (at least that I know of) because it is the only one that can be used in an imperative sense. Couldn't, shouldn't, wouldn't, haven't, isn't, doesn't, aren't, can't... none of these can be used in an imperative sense because you cannot command someone to could, should, etc.  Is it possible to expand the don't contraction when it is used as part of a command? Or is its unique case such that it exists as its own linguistic construct? Animagi (Sirus specifically) and wands? I have 3 questions about animagus transformation and wands      Does animagus transformation require the use of a wand?   If yes, where does the wand go after the wizard transforms?   Again, if 1 is yes, how did Sirius transform into a dog in Azkaban?     Note that 2 and 3 are invalidated if the answer to 1 is no. If so, is it mentioned anywhere in the books, or can be implied by something in the books, that wand use is not required? I don't think Sirius managing to do it in Azkaban can be used as a proof here, as in Book 3 Wormtail needs a wand to change back into a rat Fatal error: Call to undefined function add_action() - an untouched problem The question was asked many times in many ways, but unfortunately is not covered well in most of the answers. I'm having the same issue doing things using include-files.  In my TwentyFourteen child theme's functions.php I used:  require_once get_stylesheet_directory_uri() .'/admin-panel/theme-options.php';   And I'm using . I've used it in many of my projects, the same way mentioned here, without having the error. But recently I'm having the issue in several of my projects. If I take the code to functions.php then everything's fine. But it's occurring only when I'm trying to include/require external file.  I'm having the error:     Fatal error: Call to undefined function add_action() in C:\xampp\htdocs\project\wp-content\themes\my-theme\admin-panel\theme-options.php on line 2   In this case I'm having the error using a child theme (of T14). But even in one of my parent theme I'm facing the issue. But in the same environment my other projects are running well with all the includes and/or requires (where several add_action()s are defined). I'm having issues in ALL the add_action() calls, like CPT assigning, Custom Taxonomy assigning etc. But I'm successfully developing another two projects including external files from inc/ folder where all my CPTs are assigned and their meta boxes too.  I tried reinstalling WordPress, deactivating all my plugins, tried from Child Theme, tried only the same thing by modifying TwentyFifteen (applying default theme), tried require(), require_once(), include(), include, require_once, and require one after another with failure. And I'm using WP 4.1.1 in all the good and problematic installs.  Majority of the previous questions are answered with a simple line:     As the message says, you haven defined the function add_action() and yet you're trying to use it.   But,   how come (isn't it already defined by WordPress)? and why it's differing project to project in the same environment (How come it's out of the scope now only in particular project[s])?