I have a dependent continuos variable and two independent variables, both categorical. The first independent variable is the "gender" of respondents (two levels), the second one is their "first language" (5 levels: english, french, ... and other 3).   I would like to test whether the dependent continuos variables is significantly different between male and females, controlling also for their "first language". On some tutorials I found that ANCOVA could be a solution as an extended version of ANOVA, controlling for a covariate. However, I also read that ANCOVA requires covariate to be CONTINUOS variable and not Categorical, such as is my case with the Categorical variable "first language".   Is there any other solution available? Is SPSS (i'm using this software) working the same if I use a CATEGORICAL covariate instead of a continuous one? What do you suggest could be the best option to pursue? Maybe a Two-Way Anova could work? But in the case of a Two-Way Anova I already know the design would be unbalanced (= without having the same number of cases for each group). What would be then the implications?
I have a 2x2 experimental design. In the experiment, I also collected the participants' professional qualifications (categorical variable- yes /no). I would like to test the effect of controlling this variable on the MSE. I understand that in ANCOVA, the covariate is either an interval or ordinal variable. So should I refer to the test as an ANCOVA if I include professional qualification as an additional variable? Or should it be a blocking variable since &quot;prof. qualification&quot; is categorical.
How to get a variable name as a string in PHP? Say i have this PHP code:  $FooBar = "a string";   i then need a function like this:  print_var_name($FooBar);   which prints:  FooBar   Any Ideas how to achieve this? Is this even possible in PHP? I've found plenty of posts about changing the visibility of a block programatically.  My problem is the opposite. Given a block's ID/delta, how do I find out if it should be displayed at the current path?  I have a field collection that allows you to append a block using the Block Reference module (I preprocess the field collection and use my own template, so the logic has been taken away from the Block Reference module). It works, but I only want it to kick in if the "Show block on specific pages" rule says that block should be displayed. How to install updates via command line? Seeking birth record for Jacob Schulthess from Wangen an der Aare in Switzerland? Where can I find sample or real Selenium projects. All the material I can find on github and on internet are basic, and never intermediate or advanced.  How does a real Selenium project look in real life? How can I find sample code? How can I determine file type without an extension on Windows? How come everyone easily takes or say the name of "Voldemort" without any fear in Scorpius's world? I was so excited about the Spring '14  as a way to present data visualizations on a public site, and now it looks like that's not possible.  I created a page that looks basically like the release notes sample:  &lt;apex:page &gt;     &lt;analytics:reportChart reportId="00OW0000000Spru"&gt;&lt;/analytics:reportChart&gt; &lt;/apex:page&gt;   I tested it inside the authenticated environment, where it works fine, then added it to a Site. There, I get the error: To view the report chart, you need both the Run Reports permission and access to the report's folder. But, Run Reports is not a permission I can grant to the Site Guest User.  Anybody have any ideas for a workaround? Or is it not going to be possible to show report charts on a public site? I want to quantify the relationship between two variables, A and B, using mutual information. The way to compute it is by binning the observations (see example Python code below). However, what factors determines what number of bins is reasonable? I need the computation to be fast so I cannot simply use a lot of bins to be on the safe side.  from sklearn.metrics import mutual_info_score  def calc_MI(x, y, bins):     c_xy = np.histogram2d(x, y, bins)[0]     mi = mutual_info_score(None, None, contingency=c_xy)     return mi Let $R \simeq S$ be isomorphic commutative rings with unity. Prove the following:  a). If $R$ is an integral domain then $S$ is an integral domain.  For this, I said that If I let $f: R \to S$ be an isomorphism and $(R, + , \circ), (S, \oplus, \ast)$, then let $x, y\in R$,  such that $x \circ y = 0_R$, because $f$ is an isomorphism, $f(x \circ y) = f(x) \ast f(y) = f(0_R)$. If I let $R$ be an integral domain then, as per the definition $R$ is commutative, has unity, and no zero divisors.   So $f(x \circ y) = f(x) \ast f(y) = f(0_R)$ where we have either $f(x \circ y) = f(0_R) \ast f(y) = f(0_R)$ or $f(x \circ y) = f(x) \ast f(0_R) = f(0_R)$.   Since $f$ is an isomomorphism, let $s = f(x), t = f(y)| s,t \in S$. Then $s \ast t = f(0_R)$. By definition, $S$ also has unity so $0_S$ exists. If we map $0_R \to 0_S$. Then either $s = 0_S$ or $t = 0_S$.   So then, since $S$ has unity, is commutative, and has a no zero divisors as we showed above, it is also an Integral domain.  I'm not sure I have this correctly.  b). If $R$ is a field then $S$ is a field. I don't really understand how to do this one. Since $S$ is an integral domain, it has a $0_S$. So I need to show that $S$ distributes $\ast$ over $\oplus$.  Any help with these is appreciated Powering a WS2812B strip How to redirect entire phone traffic (including all apps) to a proxy (with out rooting the phone)  We are developing a parental control app for Android, in that we have requirement to capture all out going traffic from Android phone for categorization. Is there a way to achieve this in Android with out rooting the phone.  Thanks, Gopi. How can I get the source code of a Python function? Suppose I have a Python function as defined below:  def foo(arg1,arg2):     #do something with args     a = arg1 + arg2     return a   I can get the name of the function using foo.func_name. How can I programmatically get its source code, as I typed above? Remember all opened files with split windows and their positions in Emacs Site name gets cropped while looking at user profiles on international Stack Overflow sites I am trying to create a vase that looks similar to this:    If there is another post out there I will happily remove this one or redirect it there.  Specifically, I am trying to create the creased effect in the geometry that looks like it is twisting around the vase.  I have tried using Checker Deselect and extrude->scaling the verts but that really screws up my mesh.  Link to my model if it helps: I've been messing around with Unity and broke something, how do I "start over"? Why do we tag questions? My question—my meta-question as the case may be—concerns the purpose of these words referred to as "tags". Let me be clear: I use tags. The site supports them, so why shouldn't I? My understanding of their reason for existing is tragically incomplete.   Are they used for searching? Are they useful in any other way, or do they merely act as decoration?     For more information, see "" and "" in the . Would real Moody have taught 4th year students about Unforgiveable curses? Would real Moody have taught 4th year students about Unforgiveable curses the way fake Barty Crouch Moody did?  In other words, did Barty teach about them (leaving aside his hands-on teaching approach) just to satisfy his Death Eater wishes, or did he teach them as part of his cover as Moody impersonator because Moody would have taught about them? Does non-mass-energy generate a gravitational field? At a very basic level I know that gravity isn't generated by mass but rather the  and when I wave my hands a lot it seems like that implies that energy in $E^2 = (pc)^2 + (mc^2)^2$ is the source of gravity.  If the total energy of a particle contributes to the generation of a gravitational field, that seems to imply some strange things.  For example, you could accelerate a particle like an electron to such a high velocity that it has enough momentum / kinetic energy to collapse into a black hole.  An observer traveling with the electron would see an electron and stationary observers would see an arbitrarily massive black hole flying by.  These observations seem to be contradictory.  The same would be true of an extremely high energy photon.  Another consequence is that a stationary particle could appear to have so much mass that it could attract / deflect the trajectory of a rapidly moving observer.  It seems odd that at low velocities you wouldn't even notice a stationary electron as you pass it by but at high velocities the gravitational field you observe could be significant enough to alter your path.  Am I correct that non-mass-energy generates a gravitational field?  If it does, how are these strange observations like a particle looking like a black hole in one reference frame but not another reconciled?