Home / Companies / Hex / Blog / July 2023

July 2023 Summaries

5 posts from Hex

Filter
Month: Year:
Post Summaries Back to Blog
This blog post details the process of building a first-touch marketing attribution model at Hex using SQL. The author explains why they chose this method and how it aligns with their top-of-funnel focus. They also provide an overview of different types of attribution models, such as single touch and multi-touch attribution, and the various ways to attribute credit in these models. The article outlines three key steps for building a first-touch attribution model: categorizing traffic into channels, matching users to their traffic (user stitching), and creating the final model. The author also discusses how to use this model to quantify the most impactful sources of customers and provides examples of metrics that can be measured using the model, such as signups over time by first-touch channel and conversion rates. In conclusion, building a first-touch attribution model may not be an analyst's magnum opus, but it serves as a valuable tool for understanding customer acquisition channels and making data-driven decisions in marketing efforts.
Jul 17, 2023 1,457 words in the original blog post.
This article provides practical examples of common dimensionality reduction algorithms in Python using a wine dataset consisting of 13 features or dimensions representing three different types of wines. The goal is to use dimensionality reduction along with the Kmeans clustering algorithm to reveal hidden wine groups within the dataset. Linear techniques such as PCA, ICA, and TruncatedSVD are covered, followed by non-linear techniques including Multidimensional scaling, T-SNE, and UMAP. The article emphasizes that dimensionality reduction is not a one-size-fits-all solution and the choice of method depends on the nature of the data and the specific problem being addressed.
Jul 13, 2023 1,735 words in the original blog post.
SQL is not just for reading and writing data from databases, but also for efficient data analysis. It's designed to manage, manipulate, and query data efficiently, especially large datasets. SQL can perform complex aggregations, joins, and calculations on the fly directly within the database server, reducing network traffic and overhead costs. SQL is simple to use with a small set of core commands like SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER BY, and JOIN. It also includes a wide range of additional functions and capabilities for mathematical and statistical operations, string manipulation, date and time functions, subqueries, window functions, stored procedures, and more. SQL can be used to perform basic data manipulations and queries, as well as more sophisticated techniques like aggregation, calculation, pivoting, correlated subqueries, and recursive common table expressions (CTEs). Stored procedures in SQL allow you to save and reuse complex queries or scripts for maintenance and performance optimization. Query optimization is crucial for efficient data analysis with SQL. This involves using techniques like indexes, minimizing subqueries, avoiding SELECT *, using LIMIT, and more. Other areas of SQL performance tuning include database design optimization, server tuning, and hardware optimization.
Jul 12, 2023 3,743 words in the original blog post.
Dimensionality reduction is a technique used to simplify complex datasets by reducing the number of dimensions (columns) while preserving important information. This helps make working with large, intricate data more manageable. The process can be likened to casting a shadow of an object - some detail is lost, but it becomes easier to manipulate and compare. Dimensionality reduction techniques are crucial in handling high-dimensional datasets where traditional methods may fail due to the curse of dimensionality. These techniques come in two forms: linear and non-linear. Linear techniques maintain linear relationships in data while reducing dimensions, while non-linear ones capture more complex, non-linear relationships. Examples include Principal Component Analysis (PCA), Independent Component Analysis (ICA) for linear methods, and UMAP, t-SNE, Multidimensional Scaling for non-linear methods.
Jul 12, 2023 1,542 words in the original blog post.
Data modeling is crucial for structuring and understanding data in databases and warehouses. It involves defining entities, attributes, and relationships between them based on business requirements. There are several techniques for data modeling, including entity-relationship (ER) modeling, relational modeling, hierarchical modeling, object-oriented modeling, data vault modeling, and data warehouse modeling. Data modeling tools like ER/Studio, ERwin Data Modeler, InfoSphere Data Architect, SQL Developer Data Modeller, Toad Data Modeler, SAP PowerDesigner, and dbt can help in creating, managing, and documenting data models efficiently. Best practices for data modeling include understanding business requirements, using data visualization, starting simple and expanding later, normalizing data, ensuring data integrity, and choosing the right tools.
Jul 06, 2023 3,410 words in the original blog post.