loading

The perfect choice of one-stop service for diversification of architecture.

How Do We Split SPSS Dataset into 2 Dataset to Perform Internal Validation? Closed

Data -> Select Cases. Choose "Random sample of cases". You can either specify approximately 50% of the cases (SPSS Syntax below) or a specific number. You should tick the option in the Output box to "Copy selected cases to a new dataset" and name the new dataset (this is also in the syntax below)

• Related Questions

Implementing circuit with d-flipflop in verilog

In your simulator, the initial value of the D flipflop is undefined, hence the behavior of your circuit is undefined. You can take one of two approaches:Add an initial assignment to the flipflop:Add a reset signal to the flipflop, and toggle it from your simulation. Your always block should then be:

------

Star Trek Kobayashi Maru as a verb in this sentence from 'The Office' (US)?

The kobayashi maru actually involved changing the process before the test. To apply it here might involve setting up a standard that assumes the customer will be purchasing in the future and expecting to get credit for returned product. If the process was changed 'before' the simulation it would effectively undo the action.

------

Sharepoint 2010 Notifications not working

Try this troubleshooting guidehttp://sharepointalert.info/troubleshooting-sharepoint-alerts/

(source: sharepointalert.info) Start with the simple stuff - can you use an SMTP test tool to send an email from the SharePoint server successfully? I suspect you will find that your email server isn't configured to 'trust' (aka relay) emails coming from your SharePoint server.

------

R function to generate predictions from ratings

Without exact your data I could think of some improvements.

Trying to avoid redundant operations.As I do not have your data, there are probably/maybe some errors in code.There are probably better ways to do this, but as I mentioned, it is hard to think of any without any example data.

------

A new fiddle for dba.se

feature-request status-deferredNow tracked hereThe 19.2 release makes it look like integrating it might be relatively easy, would you be interested in adding CockroachDB as a supported platform?The cockroach demo command ostensibly provides an ephemeral in-memory enterprise instance; and having seen it in action it appears to do what it says on the tin :)

------

Are there any websites that list common build orders?

Liquipedia is a good one. It lists a number of build orders used by tournament players for the various races. It also suggests what build orders to use in different situations (TvT or TvP). I did find it lacking in in that it doesn't have a lot of build orders for team games.

------

How do you report percentage accuracy for glmnet logistic regression?

The predict function for glmnet offers a "class" type that will predict the class rather than the response for binomial logistic regression, eliminating the need for your conditionals. You could also do the cv.glmnet using the type.measure parameter value "auc" or "class" to produce some validation accuracy measures prior to prediction

------

Case insensitively removing a substring, efficiently

Regular expressions make your life really easy when solving such exercises:I explain this code a little:You may have noticed, that I made this method static because it does not access any fields or methods that are non-static. This is always advised unless it really needs to be non-static for some reason

------

Highlight the Bounding Box, Part II: Hexagonal Grid

I wrote a query to solve this - which I found quite difficult. It is not able to compete with all the excellent shorter answer. But wanted to post it anyway for those interested. Sorry about the length of the answer - hoping codegolf is also about different approachs.Golfed:Ungolfed:Fiddle ungolfed

------

Case always returns null?

There's no ELSE in your first CASE, which means if none of your WHEN expressions are matched then it returns NULL.My guess is there's an issue in your logic below that causes date1 and date2 to always be equal, which would miss both your WHENs in the first CASE and return NULL

------

Keep numlock status while using KVM

First suggestion.Use numlockx: sudo apt-get install numlockxSecond suggestion (just to complete your question)you can create the key you have indicated using the format:I'm assuming in the example that numlock_on is a boolean valueIf numlock_on is a string or int then you'll need to change the type parameter accordingly

------

Do you need a search button with a search box?

I would always error on the side of usability, even for technical audiences. For non-technical audiences, it can be even more vital to include it as they may not know you can simply hit enter to submit the form. The button can be styled to match the layout, so I would keep it.

------

How to get postfix or php mail() to output to files (Snow Leopard)

Postfix allows you to hook in a content filter (more info at http://www.postfix.org/FILTER_README.html). This could be a script that writes the contents somewhere on disk and send it back to postfix for further delivery. The FILTER_README.html shows a simple shell script that you could extend.

------

Is $R$ an integral domain?

Hint $ $ One easily verifies that it is a subring of $,Bbb C,$ since it satisfies the subring test, i.e. it contains $,1,$ and is closed under subtraction and multiplication (use $,alpha^2 malpha n,$ for some $,m,ninBbb Z).,$ Therefore, being a subring of a field, it is an integral domain.

------

Suppose $sum a_n $ converges. Does $sum 2^-n a_n $ always converge?

I think the answer is yes in the genral case because :

if $sum a_n$ converge then $a_n to 0$ then there is $n_0$ such that for every $nge n_0$ $|a_n|le1$ and than we can use the comparastion test , and show that the new sequence is converge. am i right ?

------

Cisco Switch (WS-C4948) not loading saved config in register 0x2102

You need to save router IOS file to flash memory generally do by copy iOS file from outside memory source and boot it from pindrive or TFT server. After that it will work normally as desired. I hope you have a iOS file and you know to copy and run the iOS file.

------

What is the proper way to override the getFinalPrice method based on value of 2 customizable option text fields?

What is the proper way to ... adjust the final price base on 2 customizable option text field value?Use the catalog_product_get_final_price event that is fired in getFinalPrice().The product parameter is a product instance that also contains the selected custom options. You should find your custom values in $product->getCustomOptions().

------

Make a testable DAL using service and repository pattern

For the GetRepository question, if you're using an ORM, I tend to add an interface to my modeling classes that I can call generically on an abstract repository class.Something like You can return the interface instead on your GetRepository methodThis would probably require some significant restructuring of your base repo classes though

------

Displaying dart (leader) on Callout text symbol inserted into ArcGIS Pro Layout

To do this the Callout text element needs to be right-clicked on in the layout page (or by using its name in the Contents pane).There is then an option on the Context Menu to Add Leader:The Callout on the page then has the appearance and functionality that I was looking for:

------

Book for particles physics duplicate

I'd suggest Griffiths and/or Kane. Read the reviews to see whether this is the kind of books you are after.There is also a pretty nice (if quite popular) Flip Tanedo's blog series on the topic. If you like that, I also recommend the rest of his posts $-$ they're pretty cool.

------

RID manager error in my DC (server 2003 enterprise)

I had the same problem and when I executed repadmin /showrepl rIDAllocationPool was changed and started to work. I was able to create users, add computers in the domain... And you don't need to restart the DC server every time you have this problem. You just need to restart Active Directory Domain Service

------

How to define $f(x) 2x$ as a recursive and lamba function?

$$Mlambda nmfx.n(mf)x Leftrightarrow Mlambda nmf.n(mf)$$Hence $$M(lambda fx.f^nx)(lambda fx.f^mx)fx(lambda fx.f^nx)(lambda x.f^mx)xf^mnx$$For the second part $2(x1)2x2$, just compose $succ$ with itself for $h$, you don't need a product !

------

iPhone app - bottom menu vs hamburger menu

I think hamberger menu is better for your app at this time, you don't have to move user to other screen to make a choice. By the way, with iOS 7 and flat design, you can extend hamburger and sidemenu to bigger view

you can read more here http://uxmag.com/articles/adapting-ui-to-ios-7-the-side-menu

------

What's the best way to try newer versions?

In April this year, the next LTS version (16.04) will be issued. You will be able to upgrade to it directly from 14.04 LTS. It will contain up to date versions of btrfs and the kernel.

Upgrading to 15.

10 (non-LTS) will require you to work through the intermediate upgrades (> 14.10 > 15.04 > 15.10).Are you able to wait 2-3 months?

------

What exactly is meant by serverAuth and clientAuth

The "auth" in question is authentication, not authorization. serverAuth indicates that the certificate can be used to authenticate the server (that is, the certificate allows a server to prove its identity to the client); clientAuth certificates are intended to allow a client to prove its identity (that is, authenticate itself) to the server

------

Fit polynomial function using experimental data (least squares)

I have tested your answer by matlab and plotted the points and the 2-d polynomial on a figure in matlab and got the answer:

it seems to be right. The best 2-d polynomial fitting five points will be your answer. why do you think it's wrong?

here's the code I used in matlab:

------

SortedList implementation in Java

There are 2 functions that will help you with this class: java.util.Arrays.binarySearch and java.lang.System.arraycopy.The will search and copy the data much more effectively than what you are doing now:Also for resize you can use java.util.Arrays.copyOf which can be faster than your own loop.

------

How do I check my Mac's RAM?

It's not as exhaustive as MemTest and Rember, but there's a userspace utility called memtester. You can call it by using memtester 4G. Call memtester to see other options as well.You should also be able to call memtest86 from a LiveCD for Ubuntu or most other operating systems. Give it a try.

------

Security Scanner not finding assertion

I found the culprit on my own. I noticed that the System.RunAs(new User(Id UserInfo.getUserId())) the previous developer used essentially does nothing at all. I removed that as well as put asserts inside of the other System.runAs and outside of it as well, and it began working as expected.

------

Publication bias in meta-analysis of diagnostic accuracy in R?

There is an older paper of Deeks et al justifying the use of the diagnostic odds ratio for this purpose:on this method:http://www.ncbi.nlm.nih.gov/pubmed/16085191The work of Deeks et al is not related to the bivariate model. From my limited experience I can nevertheless recommend this approach.

------

Not getting the same solution when using the rule sin(x)x1 on a limit

$$lim_xto0fracsin(x)x1$$ doesn't allow you to write$$fracsin(x)x1text nor sin(x)-x0 !$$There are circumstances where $sin(x)-x$ cannot be neglected because it is amplified. For the sake of illustration, here is a plot of$$fracsin(2x)-2xsin(x)-x.$$

------

Stationarity Tests in R, checking mean, variance and covariance

I also asked myself a similar question.

There is a stationarity() from fractal package in R; which uses PSR test based on spectral analysis; and hwtos2 from locits, which uses wavelet spectrum test.

That answer can be found on the following link:

http://www.maths.bris.ac.uk/guy/Research/LSTS/TOS.html

------

The sign of $0$ is both positive and negative or neither positive nor negative?

At one time, the Bourbaki school considered 0 as both positive and negative but this is not a common position today. Today, it is more common to regard it as neither positive nor negative. I found an interesting footnote in this book: The Number System by H.

A.

Thurston at the bottom of page 15.

------

How to test electron app using selenium

For this question, it depends on which webdriver Selenium is using. I am testing with Spectron based on Electron, but my elements are identified by webdriver IO.To reach an element you can use the id, class, CSS or xPathNext up I can get an element and do whatever I want with it.

------

Google Chrome: All images on all sites are being rendered improperly, corrupted

What you see is JPG compression.I'll post an example in a few minutes.I'm wrong. Huh. This is interesting. I've tested JPGs with both an sRGB embedded profile, and no profile, but they both had the same problem. I'll run some more tests.I think your issue is a duplicate of issue #122951

------

Who wrote the book Arena?

If you search for the title Arena on ISFDB and only look at the exact matches and skip the short stories, you're left with just three possibilities: Julian Jay Savarin 1979, William R. Forstchen 1994 and Karen Hancock 2002.ISFDB has covers for some of the editions. You can also search for summaries on the web.

How Do We Split SPSS Dataset into 2 Dataset to Perform Internal Validation? Closed 1

GET IN TOUCH WITH Us
recommended articles
Related Blogs blog
Asymptotic Test of Equality of Coefficients From Two Different Regressions
We can construct the regression:$$beginbmatrix y_1 y_2 endbmatrixbeginbmatrix x_1 & 0 x_2 & x_2 endbmatrixbeginbmatrix beta_1 Delta endbmatrixbeginbmatrix e_...
Probability with Expected Value for Diagnostic Tests
This problem can be solved by using the linearity of expectation again and again. I will give a complete illustration for part (a), but leave only hints part (b) as ...
Ubuntu 10 Server Postfix to Relay on My ISP
I will just post here what I found looking in a lot of place, blogs, forums, etc...Most people just said: gave up - don't use postfix - what you need is not a SMTP s...
Variable Is Not Visible in Test Class
That's because you did not label your properties as public (you don't have an access modifier at all) in your class. I am going under the assumption that you wanted ...
Copy Directory Structure with Random Number of Files
First find all directories:Then parse these directories to a script, whichIn this case 2 random files are copied.In my example the script randomCopy.sh looks like th...
A Minecraft Poison Sword
Update: @Skylinerw has commented that this will bug on multiplayer. To fix this, just ad the team selector for each command and as long everyone has there own team, ...
How Do I Write an Apex Unit Test?
This answer is not intended to teach you everything about writing unit tests, nor to specifically answer every question, but to provide a quick summary and links to ...
Problems of Phased Array Ground Penetrating Radar Detection System
Although GPR has been widely used in hydrology, engineering, environment and other fields, many basic theoretical and technical problems have not been fundamentally ...
Suggestions for Journaling, Bullet Notes, Activity, Wiki Like Application
So I am thinking of a possible answer to my own question:Build my own journal note entry app linked to a wiki.Zim Wiki uses a file based system for wiki. Maybe I cou...
How Many NCAA Football Bowls Are There?
About 8 I think1. where can i get ncaa football 10 rosters with names?For the last two years I got mine from "Pastapadre". From what i can tell they are really prett...
no data
Customer service
detect