DOM HTMLCollection

An HTMLCollection object is an array-like list of HTML elements. Methods like the getElementsByTagName() returns an HTMLCollection. Properties and Methods The following properties and methods can be used on a HTMLCollection object: Property / Method Description item() Returns the element at the specified index in an HTMLCollection length Returns the number of elements in an […]

SPSS Main Numeric Functions

This tutorial covers some obvious and some less obvious functions for editing numeric variables. You can follow along with this tutorial by downloading and opening hospital.sav. They syntax we’ll use can be copy-pasted or downloaded here. Specifying User Missing Values This tutorial will only use the last 2 variables in the data.* Before doing anything else, we first specify […]

HTML <picture> Tag

Example How to use the <picture> tag: <picture> <source media=”(min-width: 650px)” srcset=”img_pink_flowers.jpg”> <source media=”(min-width: 465px)” srcset=”img_white_flower.jpg”> <img src=”img_orange_flowers.jpg” alt=”Flowers” style=”width:auto;”> </picture> Try it Yourself » Definition and Usage The <picture> tag gives web developers more flexibility in specifying image resources. The most common use of the <picture> element will be for art direction in responsive designs. Instead of having one image that […]

HTML <figure> Tag

Example Use a <figure> element to mark up a photo in a document: <figure> <img src=”img_pulpit.jpg” alt=”The Pulpit Rock” width=”304″ height=”228″> </figure> Try it Yourself » Definition and Usage The <figure> tag specifies self-contained content, like illustrations, diagrams, photos, code listings, etc. While the content of the <figure> element is related to the main flow, its position is independent […]

HTML <th> nowrap Attribute

Example A header cell with a nowrap attribute: <table> <tr> <th>Month</th> <th nowrap>My Savings for a new car</th> </tr> <tr> <td>January</td> <td>$100</td> </tr> <tr> <td>February</td> <td>$80</td> </tr> </table> Try it Yourself » Definition and Usage The nowrap attribute is a boolean attribute. When present, it specifies that the content inside a header cell should not wrap. […]

HTML DOM DT Object

DT Object The DT object represents an HTML <dt> element. Access a DT Object You can access a <dt> element by using getElementById(): Example var x = document.getElementById(“myDT”); Try it Yourself » Create a DT Object You can create a <dt> element by using the document.createElement() method: Example var x = document.createElement(“DT”); Try it Yourself » Standard […]

SPSS Command Types

Summary SPSS commands come in three basic types: procedures, transformations and other commands. Understanding this distinction will allow you to get things done in SPSS faster and more efficiently. SPSS Command Types Diagram SPSS Transformations As shown in the figure, the first question is when a command is executed. Some SPSS commands are not carried out […]

SPSS REPLACE Function

Definition SPSS REPLACE replaces a substring in a string by a different (possibly empty) substring. SPSS Replace – Removing Spaces URLs are created from “title” by using REPLACE. The syntax below demonstrates how to do this. We have a dataset holding the titles of web pages and we’d like to convert these to URLs. For one thing, we don’t like spaces in […]

SPSS SELECT IF – Simple Tutorial

In SPSS, SELECT IF deletes cases (rows of data) that don’t satisfy some condition(s). Like so, SELECT IF basically means “don’t delete if …” A minimal example isSELECT IF(GENDER = 1). SPSS SELECT IF – Some Examples Say we collected data on our employees and the resulting data file is employees.sav. Our client is only interested in female […]

How to Get (Partial) Eta Squared from SPSS?

In ANOVA, we always report the F-value, degrees of freedom (df) and p for each effect -possibly just one for one-way ANOVA. P (“Sig.” in SPSS) tells us the likelihood of some effect being zero in our population. However, it doesn’t tell us how strong some effect is if it is not zero; we can’t conclude that p = 0.05 indicates a […]

Substring (General Concept)

A substring is a subset of characters from a string. Extracting substrings in SPSS is done with CHAR.SUBSTR (SPSS versions 16+) or just SUBSTR (SPSS versions 15-). CHAR.SUBSTR takes two or three arguments as shown by the minimal example below. SPSS CHAR.SUBSTR – Minimal Example COMPUTE var_2 = CHAR.SUBSTR(var_1,3,2). The three arguments mean the following: var_1 denotes the variable […]

SPSS SPLIT FILE – A Quick Tutorial

SPLIT FILE is a command for having separate output for subsets of cases. It does not literally split your file into smaller files. Subsets are defined by the values on one or more split variables. After running SPLIT FILE, output is reported for each split group separately until you run SPLIT FILE OFF.Example of output […]

SPSS Data Editor Window

SPSS Data Editor window is SPSS’ main window. This is the only window that’s always open whenever we run SPSS. It’s recognized by a red icon  in its left top corner. The Data Editor has two tabs in the left bottom corner: we can click Data View for inspecting our data values. Alternatively, Variable View shows information regarding the meaning […]

Data Recovery – BurnAware

Available in Premium and Professional editions. This tool allows to browse and extract files from different type of discs. To extract a file, proceed as follows: 1. Click on the Data Recovery icon in the Main Window. The project layout will be displayed in separate window. 2. Select an available session from the left side […]

Erase Disc – BurnAware

Disc with the RW or RE specification can be erased, as long as your recorder supports this feature. Two erase methods are available for this purpose: Quick erasing does not remove the data physically from the disc, but instead only makes it inaccessible by erasing the references to existing content. The data can be restored. Complete erasing […]

Copy to ISO – BurnAware

An ISO image is an archive file of an optical disc, composed of the data contents of every written sector of an optical disc, including the optical disc file system. To create exact copy of the disc on the hard drive, proceed as follows: 1. Click on the Copy to ISO icon in the Main […]

Make ISO – BurnAware

An ISO image is an archive file of an optical disc, composed of the data contents of every written sector of an optical disc, including the optical disc file system. To make an ISO from local files, proceed as follows: 1. Click on the Make ISO icon in the Main Window. The project layout will […]

Unpack ISO – BurnAware

This tool allows to browse and extract files from ISO images. To extract a file, proceed as follows: 1. Click on the Unpack ISO icon in the Main Window. The project layout will be displayed in separate window. 2. Click on the Open button select ISO image. 3. Select files you want to extract. 4. […]

Burn ISO – BurnAware

An ISO image is an archive file of an optical disc, composed of the data contents of every written sector of an optical disc, including the optical disc file system. To burn a disc image, proceed as follows: 1. Click on the Burn ISO icon in the Main Window. The project layout will be displayed […]

DVD-Video – BurnAware

A DVD-Video is a DVD that contains high-quality video files and can be played on any DVD player. To create a DVD-Video, proceed as follows: 1. Click on the DVD-Video icon in the Main Window. The project layout will be displayed in separate window. 2. Click on the Add button, to select video files you […]