Quantcast
Channel: ListenData
Browsing all 425 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Logistic Regression with R

Logistic RegressionIt is used to predict the result of a categorical dependent variable based on one or more continuous or categorical independent variables. In other words, it is multiple regression...

View Article


Image may be NSFW.
Clik here to view.

Oversampling for Rare Event with R

OversamplingOversampling occurs when you have less than 10 events per independent variable in your logistic regression model. Suppose, there are 9900 non-events and 100 events in 10k cases. You need to...

View Article


Image may be NSFW.
Clik here to view.

Propose your crush with R

This post is dedicated to all the R programming lovers.R Programming TipsHow to UseAsk your crush to run the following R program and see what you mean.paste(intToUtf8(acos(log(1))*180/pi-17),...

View Article

Image may be NSFW.
Clik here to view.

SAS : Proc Freq Tutorial

This tutorial explains how to use PROC FREQ.Create a sample data setdata example1;input x y $ z;cards;6A606A702A1002B103B672C813C635C55;run;Example 1 : To check the distribution of a categorical...

View Article

Image may be NSFW.
Clik here to view.

SAS : Call Execute Made Easy

This tutorial explains how to use data step to interact with the SAS macro facility.Example 1Suppose you have two data sets named "temp" and "temp2". You are asked to form a group based on the logical...

View Article


Image may be NSFW.
Clik here to view.

Run SQL Queries in R

This tutorial explains how to run sql queries in R with sqldf package.Run SQL query in RInstall and Load Packageinstall.packages("sqldf")library(sqldf)Create sample datadt <- data.frame( ID =...

View Article

Image may be NSFW.
Clik here to view.

Excel : Change Chart from Count to Percent Using Options Button

This tutorial explains how to change chart from count to percent using Options Button.Options ButtonLike drop down, the Option Button form Control allows the selection of a single item from a list of...

View Article

Image may be NSFW.
Clik here to view.

Excel : Interactive Chart Using Check Boxes

This tutorial explains how to create interactive chart with check boxes in Excel.Check BoxThe Check Box form Control allows the selection of multiple items from a list of items. When one item is...

View Article


Image may be NSFW.
Clik here to view.

Excel : Create Interactive Chart with List Box

This tutorial explains how to create interactive chart with List Box.Interactive Chart with List BoxSteps1. Prepare Data for Count and PercentCount and Percent Data2. Create List BoxInsert List Box3....

View Article


Image may be NSFW.
Clik here to view.

Excel : Interactive Up Down Arrows

This tutorial explains how to create interactive up down arrows with excel.Style 1 :Interactive Up Down Arrow1. Enter CHAR(199) and change the font to "Wingdings 3", you will see Up arrow,2. Enter...

View Article

Image may be NSFW.
Clik here to view.

SAS : Random Sampling with PROC SQL

This tutorial explains how to get random sample with PROC SQL.Random Sampling with PROC SQLThe RANUNI Function performs random sampling and OUTOBS restricts row processing.proc sql outobs = 10;create...

View Article

Image may be NSFW.
Clik here to view.

SAS : Power of PROC FORMAT

This tutorial explains the uses of PROC FORMAT in the most common data manipulation tasks.Sample DataData Source : sashelp.carsSample DataExample 1 :Suppose you are asked to group MSRP variable based...

View Article

Image may be NSFW.
Clik here to view.

SAS : COALESCE Function

The COALESCE function is used to select the first non-missing value in a list of variables.SAS : COALESCE FunctionSample Datadata temp;input ID x1-x4;cards;1 . 89 85 .2 79 . 74 .3 80 82 86...

View Article


Image may be NSFW.
Clik here to view.

ListBox ActiveX Control Explained

This tutorial explains how to use ListBox ActiveX Control.Simple ListBox (Without VBA)Step I : Go to Developer TabStep II : Click on Insert Button and then select ListBox under ActiveX Controls (see...

View Article

Image may be NSFW.
Clik here to view.

NODUPKEY with PROC SQL

This tutorial explains how to remove duplicates by a column but returns all the columns.NODUPKEY Feature with PROC SQLdata readin;input ID Name $ Score;cards;1     David   451     David   742     Sam...

View Article


Image may be NSFW.
Clik here to view.

Fuzzy Matching with SAS

This tutorial explains how to perform fuzzy matching (string matching) with SAS.Fuzzy Matching with SASSample DatasetsData temp ;Input company $30.;cards;VanucoverRelianceTataTata Motors;run;data...

View Article

Image may be NSFW.
Clik here to view.

Pattern Matching with SAS

This tutorial explains how to use regular expression language (pattern matching) with SAS.Sample Datadata x;infile datalines truncover;input name $100.;datalines;DeepanshuHow are you,...

View Article


SAS Macro : Run SAS Procedure on Multiple Datasets

This tutorial explains how to run SAS procedures on multiple datasets.Dictionary.Columns vs. Dictionary.TablesDictionary.ColumnsIt returns information about the columns in one or more data sets. It is...

View Article

Building SAS Macro Library

This tutorial explains how to store macros in a location and call them from the location.3 Types of Macro Library% IncludeAutocall Macro FacilityStored Compiled MacroI. % INCLUDEStore macros in a...

View Article

Image may be NSFW.
Clik here to view.

How Data Step and PROC SQL Works

This tutorial explains the steps to process data in SAS.How Data Step WorksThe processing of data is in 2 steps :1. Compilation PhaseStep I : Syntax CheckingSAS scans each statement in the DATA step...

View Article
Browsing all 425 articles
Browse latest View live